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

Invalid request: missing 'type' or 'anyOf' key in parameter type

Open Mike97M opened this issue 1 year ago • 5 comments

What version of Kimi CLI is running?

0.50

Which open platform/subscription were you using?

Moonshot AI Open Platform (moonshot.ai)

Which model were you using?

kimi-k2-thinking

What platform is your computer?

Linux 6.17.4-200.fc42.x86_64 x86_64 unknown

What issue are you seeing?

I'm getting this error when sending any message, even a simple hi, I tried with non thinking model too, but I got the same problem. LLM provider error: Error code: 400 - {'error': {'message': "invalid request: missing 'type' or 'anyOf' key in parameter type", 'type': 'invalid_request_error'}}

What steps can reproduce the bug?

Just trying to send any message after /setup and I got this error.

What is the expected behavior?

No response

Additional information

No response

Mike97M avatar Nov 06 '25 22:11 Mike97M

+1 same issue here. kimi-k2-thinking-turbo also not working for me.

YunfanZhang42 avatar Nov 07 '25 02:11 YunfanZhang42

can you update the latest version and try again?

yihong0618 avatar Nov 07 '25 04:11 yihong0618

@yihong0618 Negative. Both the OP and I were using the latest version - 0.5.0.

YunfanZhang42 avatar Nov 07 '25 05:11 YunfanZhang42

This might be the Moonshot AI Open Platform's problem. Could you please try again to see if it's already fixed now?

xxchan avatar Nov 07 '25 12:11 xxchan

@xxchan Works now, thanks a lot!

YunfanZhang42 avatar Nov 07 '25 21:11 YunfanZhang42