Bug Description
ERROR: POST https://openrouter.ai/api/v1/chat/completions
Caused by: 400 Bad Request Reason: {"error":{"message":"Provider returned error","code":400,"metadata":{"raw":"{"error":{"message":"Invalid request: tools.function.parameters is not a valid moonshot flavored json schema, details: \u003cAt path 'properties.output_mode.enum': enum value (\u003cnil\u003e).
Steps to Reproduce
Select moonshotai/kimi-k2.6 from OpenRouter dropdown.
Expected Behavior
The model should respect Moonshot's AI json schema.
Actual Behavior
Model's dropped a json error.
Forge Version
2.12.2
Operating System & Version
MacOS Ventura 13.4
AI Provider
OpenRouter
Model
moonshotai/kimi-k2.6
Installation Method
npx forgecode@latest
Configuration
Bug Description
ERROR: POST https://openrouter.ai/api/v1/chat/completions
Caused by: 400 Bad Request Reason: {"error":{"message":"Provider returned error","code":400,"metadata":{"raw":"{"error":{"message":"Invalid request: tools.function.parameters is not a valid moonshot flavored json schema, details: \u003cAt path 'properties.output_mode.enum': enum value (\u003cnil\u003e).
Steps to Reproduce
Select
moonshotai/kimi-k2.6from OpenRouter dropdown.Expected Behavior
The model should respect Moonshot's AI json schema.
Actual Behavior
Model's dropped a json error.
Forge Version
2.12.2
Operating System & Version
MacOS Ventura 13.4
AI Provider
OpenRouter
Model
moonshotai/kimi-k2.6
Installation Method
npx forgecode@latest
Configuration