What version of Kimi Code is running?
0.36.0
Which open platform/subscription were you using?
custom provider
Which model were you using?
internal model with openai chat completions
What platform is your computer?
Microsoft Windows NT 10.0.26100.0 x64
What issue are you seeing?
In the assistant message, only tool_calls information is present while the text information is missing; This causes the content: [] to become content = undefined during OpenAI Assistant message conversion, resulting in the content field being omitted from the final JSON output. —meaning the content within the type: assistant JSON should be null rather than undefined.
LiteLLM return error: 422, message.6.content invalid input
What steps can reproduce the bug?
let kimi-code call some tools many times.
What is the expected behavior?
No response
Additional information
No response
What version of Kimi Code is running?
0.36.0
Which open platform/subscription were you using?
custom provider
Which model were you using?
internal model with openai chat completions
What platform is your computer?
Microsoft Windows NT 10.0.26100.0 x64
What issue are you seeing?
In the assistant message, only
tool_callsinformation is present while the text information is missing; This causes thecontent: []to becomecontent = undefinedduring OpenAI Assistant message conversion, resulting in thecontentfield being omitted from the final JSON output. —meaning thecontentwithin thetype: assistantJSON should benullrather thanundefined.LiteLLM return error: 422, message.6.content invalid input
What steps can reproduce the bug?
let kimi-code call some tools many times.
What is the expected behavior?
No response
Additional information
No response