Skip to content

BYOK Copilot CLI not working anymore with Deepseek #4840

Description

@Bude2408

Describe the bug

BYOK is not working in Copilot CLI anymore. GPT5.4 is selected and an error is coming: 400 Failed to deserialize the JSON body into the target type: tools[4].type: unknownvariant custom, expected function at line 1 column 47113

export COPILOT_PROVIDER_BASE_URL=https://api.deepseek.com
export COPILOT_MODEL=deepseek-flash
export COPILOT_MODEL=deepseek-v4-pro
export COPILOT_PROVIDER_API_KEY=....
copilot

Affected version

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

Additional context

No response

Activity

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

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions