kimi-cli icon indicating copy to clipboard operation
kimi-cli copied to clipboard

无法使用kimi-for-coding模型

Open 239573049 opened this issue 1 year ago • 9 comments

What version of Kimi CLI is running?

claude code

Which open platform/subscription were you using?

Allegretto

Which model were you using?

kimi-for-coding

What platform is your computer?

No response

What issue are you seeing?

Image Image

无法使用

What steps can reproduce the bug?

Claude Code配置好请求

What is the expected behavior?

No response

Additional information

No response

239573049 avatar Oct 24 '25 05:10 239573049

Please try setting base_url to https://api.kimi.com/coding.

This issue has been addressed in the documentation. Thanks for your feedback!


请尝试将 base_url 设置为:https://api.kimi.com/coding

文档中的该问题已修复,感谢你的关注与支持!

Epsirom avatar Oct 24 '25 05:10 Epsirom

Please try setting base_url to https://api.kimi.com/coding.

This issue has been addressed in the documentation. Thanks for your feedback!

请尝试将 base_url 设置为:https://api.kimi.com/coding

文档中的该问题已修复,感谢你的关注与支持!

我试了一下,改成 https://api.kimi.com/coding,依然不行

ma-dong-mei-2023 avatar Oct 25 '25 06:10 ma-dong-mei-2023

@Epsirom 请问这个问题修复了吗,我现在按照 https://www.kimi.com/coding/docs/third-party-agents.html 配置,也是提示 API Error: 400。然后还会一直被扣额度。。。

Image Image

zephyrZhengAI avatar Nov 10 '25 01:11 zephyrZhengAI

@Epsirom 请问这个问题修复了吗,我现在按照 https://www.kimi.com/coding/docs/third-party-agents.html 配置,也是提示 API Error: 400。然后还会一直被扣额度。。。

Image Image

我重置了一下密钥就行了,很操蛋


@Epsirom Has this problem been fixed? I am now configuring according to https://www.kimi.com/coding/docs/third-party-agents.html, and it also prompts API Error: 400. Then the amount will continue to be deducted. . .

Image Image

I just reset the key, it’s fucked

ma-dong-mei-2023 avatar Nov 10 '25 01:11 ma-dong-mei-2023

@ma-dong-mei-2023 我还是不行,这订阅费算是白费了

Image

zephyrZhengAI avatar Nov 10 '25 02:11 zephyrZhengAI

@ma-dong-mei-2023 我还是不行,这订阅费算是白费了

Image

我的配置如下: 在claude code 全局配置 "C:\Users \ ergou \ .claude\settings.json" 中加入 { "env": { "ANTHROPIC_BASE_URL": "https://api.kimi.com/coding/", "ANTHROPIC_AUTH_TOKEN": "xxx", "ANTHROPIC_MODEL": "kimi-for-coding", "ANTHROPIC_SMALL_FAST_MODEL": "kimi-for-coding" } }

ma-dong-mei-2023 avatar Nov 10 '25 02:11 ma-dong-mei-2023

@ma-dong-mei-2023 我还是不行,这订阅费算是白费了 Image

我的配置如下: 在claude code 全局配置 "C:\Users \ ergou \ .claude\settings.json" 中加入 { "env": { "ANTHROPIC_BASE_URL": "https://api.kimi.com/coding/", "ANTHROPIC_AUTH_TOKEN": "xxx", "ANTHROPIC_MODEL": "kimi-for-coding", "ANTHROPIC_SMALL_FAST_MODEL": "kimi-for-coding" } }

@ma-dong-mei-2023 我也是这样配置在项目 json 中的,但是就是提示 400。然后我改成另一个 claude code 中间商的配置就正常,没搞懂。

zephyrZhengAI avatar Nov 10 '25 02:11 zephyrZhengAI

@ma-dong-mei-2023 找到原因了,我项目配置了自定义 mcp,然后名称是下划线分割,这个 kimi 识别有问题会报错,但是 claude 是支持的

@ma-dong-mei-2023 I found the reason. My project is configured with a custom mcp, and the name is separated by underscores. If there is a problem with kimi recognition, an error will be reported, but claude is supported

@ma-dong-mei-2023 Can you post some screenshots about your problem? I think the response error message indicates something.

Epsirom avatar Nov 10 '25 03:11 Epsirom

@ma-dong-mei-2023 找到原因了,我项目配置了自定义 mcp,然后名称是下划线分割,这个 kimi 识别有问题会报错,但是 claude 是支持的 @ma-dong-mei-2023 I found the reason. My project is configured with a custom mcp, and the name is separated by underscores. If there is a problem with kimi recognition, an error will be reported, but claude is supported

@ma-dong-mei-2023 Can you post some screenshots about your problem? I think the response error message indicates something.

不太方便,而且现在我测试把他都改成 - 也还是有问题。。。不想找原因了

zephyrZhengAI avatar Nov 10 '25 03:11 zephyrZhengAI