Skip to content

[Regression] Function call fails #3716

Closed
Closed

Description

@raffaeler

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

Activity

  1. added theissue type on Jun 8, 2026
  2. raffaeler commented on Jun 8, 2026

    @raffaeler
    Author

    BTW, the same request, proxy and model still works correctly in VSCode

  3. added
    area:toolsBuilt-in tools: file editing, shell, search, LSP, git, and tool call behavior
    area:modelsModel selection, availability, switching, rate limits, and model-specific behavior
    on Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:modelsModel selection, availability, switching, rate limits, and model-specific behaviorarea:toolsBuilt-in tools: file editing, shell, search, LSP, git, and tool call behavior

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions