在 claude code 中调用 kimi for coding,思维链重复两遍,挤占上下文窗口 #316
Unanswered
moxi000
asked this question in
Kimi for Coding
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
如题,请求https://api.kimi.com/coding/v1/messages 这个接口时,在 claude code 中,会重复显示和回传两遍上下文。
我自己抓包看了,核心原因是anthropic 格式接口发送两次 content_block_stop 事件:第一次是带签名的冗余事件,第二次才是实际的停止通知
减少一次即可,麻烦修改下接口报文格式的 bug
Beta Was this translation helpful? Give feedback.
All reactions