Documentation Index
Fetch the complete documentation index at: https://docs.momoapi.top/llms.txt Use this file to discover all available pages before exploring further.
Claude Code 配置
在 CC-Switch 中配置 Claude Code 时,请使用不带/v1 的基础地址。
配置步骤:
- 打开 CC-Switch。
- 在顶部工具分组中选择
Claude或Claude Code。 - 点击添加供应商。
- 如果没有 Momoapi 预设模板,选择自定义供应商。
- 填写供应商信息:
- 保存供应商配置。
- 将
Momoapi Claude设置为当前启用供应商。 - 关闭并重新打开终端。
- 在项目目录运行:
- Base URL 是否为
https://momoapi.top。 - Base URL 末尾是否误加了
/v1。 - API Key 是否属于 Claude Code 对应分组。
- 修改配置后是否已经重启 Claude Code 和终端。