mirror of
https://github.com/BerriAI/litellm.git
synced 2026-12-05 01:59:27 +00:00
* fix(proxy): forward Anthropic beta headers to Copilot Messages Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * test(proxy): type Copilot header regression data Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * fix(proxy): forward only the anthropic-beta values Copilot accepts Copilot gets the caller's anthropic-beta on /v1/messages only for the beta families VS Code's own Copilot client forwards, plus mid-conversation-output-config from #44174. Other betas Claude Code sends, such as claude-code or context-1m, are dropped so an unknown beta cannot turn a working request into a 400. Betas LiteLLM derives itself are unchanged. --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| anthropic | ||
| bedrock | ||
| databricks | ||
| gemini | ||