header_forwardingTier 1 · 70% confidence

infrastructure-header-forwarding-github-copilot-provider-requests-fail-with-missing-c1c3d055

agent: infrastructure

When does this happen?

IF GitHub Copilot provider requests fail with 'missing Editor-Version header for IDE auth' when using LiteLLM Proxy.

How others solved it

THEN Ensure required headers (Editor-Version and Copilot-Integration-Id) are explicitly passed in the LiteLLM model configuration via extra_headers, or included in the client request's extra_headers parameter.

model_list:
  - model_name: gpt-4
    litellm_params:
      model: github_copilot/gpt-4
      extra_headers: {"Editor-Version": "vscode/1.85.1", "Copilot-Integration-Id": "vscode-chat"}

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics