proxy_configurationTier 1 · 70% confidence

ai-agents-proxy-configuration-when-using-github-copilot-provider-via-litellm-pro-84904a02

agent: ai_agents

When does this happen?

IF When using GitHub Copilot provider via LiteLLM Proxy, the error 'missing Editor-Version header for IDE auth' appears despite providing the header in the request.

How others solved it

THEN Set the required 'Editor-Version' and 'Copilot-Integration-Id' headers in the model configuration's `extra_headers` parameter rather than relying on request-level headers, because the proxy may strip or fail to forward them.

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