-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[Regression] Function call fails #3716
Copy link
Copy link
Open
Labels
area:modelsModel selection, availability, switching, rate limits, and model-specific behaviorModel selection, availability, switching, rate limits, and model-specific behaviorarea:toolsBuilt-in tools: file editing, shell, search, LSP, git, and tool call behaviorBuilt-in tools: file editing, shell, search, LSP, git, and tool call behavior
Metadata
Metadata
Assignees
Labels
area:modelsModel selection, availability, switching, rate limits, and model-specific behaviorModel selection, availability, switching, rate limits, and model-specific behaviorarea:toolsBuilt-in tools: file editing, shell, search, LSP, git, and tool call behaviorBuilt-in tools: file editing, shell, search, LSP, git, and tool call behavior
Type
Fields
Give feedbackNo fields configured for Bug.
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