[GH-ISSUE #6] 使用cc-switch搭配使用时,每次初始化完后cc都报错Invalid API key · Please run /login #4

Closed
opened 2026-03-03 15:47:07 +03:00 by kerem · 1 comment
Owner

Originally created by @javaboomBird on GitHub (Jan 30, 2026).
Original GitHub issue: https://github.com/mindfold-ai/Trellis/issues/6

1.安装完成后,使用初始化命令执行npx trellis init
2.一运行claude code就报错,如下图

Image

解决办法:
cc-switch重启后恢复

Originally created by @javaboomBird on GitHub (Jan 30, 2026). Original GitHub issue: https://github.com/mindfold-ai/Trellis/issues/6 1.安装完成后,使用初始化命令执行npx trellis init 2.一运行claude code就报错,如下图 <img width="2260" height="1536" alt="Image" src="https://github.com/user-attachments/assets/28bcce88-7aaf-4745-ab9d-2c5eafe7f52b" /> 解决办法: cc-switch重启后恢复
kerem closed this issue 2026-03-03 15:47:08 +03:00
Author
Owner

@taosu0216 commented on GitHub (Jan 31, 2026):

感谢issue

<!-- gh-comment-id:3827693948 --> @taosu0216 commented on GitHub (Jan 31, 2026): 感谢issue
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Trellis#4
No description provided.