Skip to content

Conversation

XSAM
Copy link
Contributor

@XSAM XSAM commented Aug 19, 2025

This PR passes the extra_headers parameter through the responses API transformation chain.

Relevant issues

Resolves #13743

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

  • I have Added testing in the tests/litellm/ directory, Adding at least 1 test is a hard requirement - see details
  • I have added a screenshot of my new test passing locally
  • My PR passes all unit tests on make test-unit
  • My PR's scope is as isolated as possible, it only solves 1 specific problem

Type

🐛 Bug Fix

Changes

Ensure extra_headers parameter is properly forwarded from the responses() function through the transformation handler and config to maintain header propagation in litellm_completion_request dict.

Copy link

vercel bot commented Aug 19, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
litellm Ready Ready Preview Comment Aug 27, 2025 3:51am

@CLAassistant
Copy link

CLAassistant commented Aug 19, 2025

CLA assistant check
All committers have signed the CLA.

…n chain

Ensure extra_headers parameter is properly forwarded from the responses() function
through the transformation handler and config to maintain header propagation in
litellm_completion_request dict.
@XSAM XSAM marked this pull request as ready for review August 27, 2025 03:51
@ishaan-jaff ishaan-jaff merged commit ee13c65 into BerriAI:main Aug 27, 2025
6 checks passed
@XSAM XSAM deleted the fix-extra-headers branch August 27, 2025 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: /responses endpoint proxy ignores extra_headers in GitHub Copilot
3 participants