Bug: Can not use Kimi K2 0905 Version #1607

Closed
opened 2026-02-16 17:31:44 -05:00 by yindo · 5 comments
Owner

Originally created by @DylanLIiii on GitHub (Sep 5, 2025).

Originally assigned to: @fwang on GitHub.

When I use Kimi K2 Turbo from Moonshot AI China, it shows:

AI_APICallError: invalid request: missing 'type' or 'anyOf' key in parameter type.

Originally created by @DylanLIiii on GitHub (Sep 5, 2025). Originally assigned to: @fwang on GitHub. When I use Kimi K2 Turbo from Moonshot AI China, it shows: AI_APICallError: invalid request: missing 'type' or 'anyOf' key in parameter type.
yindo closed this issue 2026-02-16 17:31:44 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Sep 5, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #1446: Groq Kimi K2 Instruct: tool call validation failed: parameters for tool edit did not match schema - Similar parameter validation errors with Kimi K2 models
  • #1018: groq + kimi k2: Failed to call a function - Similar function call failures with Kimi K2
  • #914: Kimi K2 "AI_TypeValidationError" when using tools - Type validation errors when Kimi K2 attempts to use tools
  • #1197: tool call validation failed: parameters for tool bash did not match schema - Parameter validation failures with Kimi models
  • #1298: Getting an issue integrating a custom provider: AI_TypeValidationError, failed type validation - Type validation errors that may be related

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Sep 5, 2025): This issue might be a duplicate of existing issues. Please check: - #1446: Groq Kimi K2 Instruct: tool call validation failed: parameters for tool edit did not match schema - Similar parameter validation errors with Kimi K2 models - #1018: groq + kimi k2: Failed to call a function - Similar function call failures with Kimi K2 - #914: Kimi K2 "AI_TypeValidationError" when using tools - Type validation errors when Kimi K2 attempts to use tools - #1197: tool call validation failed: parameters for tool bash did not match schema - Parameter validation failures with Kimi models - #1298: Getting an issue integrating a custom provider: AI_TypeValidationError, failed type validation - Type validation errors that may be related Feel free to ignore if none of these address your specific case.
Author
Owner

@fwang commented on GitHub (Sep 5, 2025):

hmm seems to work for me

Image

Btw, Kimi K2 Turbo is not 0905 version. I just added support for 0905. Can u give it a try and see if u run into the same error?

@fwang commented on GitHub (Sep 5, 2025): hmm seems to work for me <img width="912" height="778" alt="Image" src="https://github.com/user-attachments/assets/9ae9ca04-d9b4-4d0f-802f-9339327250c5" /> Btw, Kimi K2 Turbo is not 0905 version. I just added support for 0905. Can u give it a try and see if u run into the same error?
Author
Owner

@DylanLIiii commented on GitHub (Sep 5, 2025):

hmm seems to work for me

Image

Btw, Kimi K2 Turbo is not 0905 version. I just added support for 0905. Can u give it a try and see if u run into the same error?

Moonshot's official WeChat account indicated that the high-speed version of the API (kimi-k2turbo-preview) with a speed of 60-101 Token / s has been synchronized with the new model. I will try again tomorrow to see if it can be used, maybe it is my personal problem.

@DylanLIiii commented on GitHub (Sep 5, 2025): > hmm seems to work for me > > <img width="912" height="778" alt="Image" src="https://github.com/user-attachments/assets/9ae9ca04-d9b4-4d0f-802f-9339327250c5" /> > > Btw, Kimi K2 Turbo is not 0905 version. I just added support for 0905. Can u give it a try and see if u run into the same error? Moonshot's official WeChat account indicated that the high-speed version of the API (kimi-k2turbo-preview) with a speed of 60-101 Token / s has been synchronized with the new model. I will try again tomorrow to see if it can be used, maybe it is my personal problem.
Author
Owner

@fwang commented on GitHub (Sep 5, 2025):

oh ic. yeah lemme know. might also be worth checking if other moonshot models work for u

@fwang commented on GitHub (Sep 5, 2025): oh ic. yeah lemme know. might also be worth checking if other moonshot models work for u
Author
Owner

@DylanLIiii commented on GitHub (Sep 6, 2025):

@fwang I can use it know. Thanks. Both Turbo and 0905 are ok.

@DylanLIiii commented on GitHub (Sep 6, 2025): @fwang I can use it know. Thanks. Both Turbo and 0905 are ok.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1607