Describe the bug
The problem started with version 1.0.60 of the github copilot cli.
I get this answer:
{"error":{"message":"Invalid request: tools.function.parameters is not a valid moonshot flavored json schema, details: \u003cAt path 'properties.recommendedAction.$ref': references must start with #/$defs/\u003e","type":"invalid_request_error"}}
Full request-response showing the failure:
2c085bf6b59a4eaa97fbd9854ac22230.md
While there is a proxy in the middle of the request/response flow, I see it working perfectly with other models.
The proxy is required to correctly manage the reasoning_content field, and to fix the values of temperature and top_p parameters.
Affected version
1.0.60
Steps to reproduce the behavior
- Configure copilot cli with Kimi 2.6 (requires a proxy locally)
- Write a request requiring a function call
- You get the error
Expected behavior
I expect it works as it always did in the past versions
Additional context
This is the full HTTP request/response logged for your investigation:
2c085bf6b59a4eaa97fbd9854ac22230.md
Describe the bug
The problem started with version 1.0.60 of the github copilot cli.
I get this answer:
{"error":{"message":"Invalid request: tools.function.parameters is not a valid moonshot flavored json schema, details: \u003cAt path 'properties.recommendedAction.$ref': references must start with #/$defs/\u003e","type":"invalid_request_error"}}Full request-response showing the failure:
2c085bf6b59a4eaa97fbd9854ac22230.md
While there is a proxy in the middle of the request/response flow, I see it working perfectly with other models.
The proxy is required to correctly manage the reasoning_content field, and to fix the values of temperature and top_p parameters.
Affected version
1.0.60
Steps to reproduce the behavior
Expected behavior
I expect it works as it always did in the past versions
Additional context
This is the full HTTP request/response logged for your investigation:
2c085bf6b59a4eaa97fbd9854ac22230.md