litellm/litellm/responses
togear fc0055497c
feat: add configurable provider affinity header mapping (#41033)
* feat: add configurable provider affinity header mapping

* fix: sync provider affinity API types

* fix: harden provider affinity header mapping

* fix: avoid provider affinity import cycle

* fix: preserve input callback header mutations

* fix: address provider affinity code scanning findings

* fix: satisfy provider affinity type discipline gate

* test: cover omitted pre-call argument isolation

* fix: resolve remaining provider affinity codeql alerts

* fix: redact provider affinity headers after calls

* refactor: drop provider affinity header log redaction

* fix: reject control characters in affinity session ids as a bad request

* chore: regenerate the openapi snapshot on python 3.12 and reuse the session marker constant

* fix(responses): read the affinity session from the named metadata argument

---------

Co-authored-by: mateo-berri <277851410+mateo-berri@users.noreply.github.com>
2026-09-22 13:31:33 -07:00
..
file_search route stuff through dispatch no direct main 2026-09-17 11:06:46 -07:00
litellm_completion_transformation fix(responses): forward safety_identifier through the chat completion bridge 2026-09-21 04:09:59 +00:00
mcp fix(mcp): return camelCase tool keys from /v1/mcp/tools after the SDK 2 upgrade 2026-09-21 15:38:06 -07:00
additional_tools.py fix(responses): hoist Codex additional_tools input items into the chat bridge tools 2026-09-13 02:11:59 -07:00
dispatch.py feat(rust-bridge): add cache and secret migration foundations (#42328) 2026-09-22 03:41:04 +00:00
main.py feat: add configurable provider affinity header mapping (#41033) 2026-09-22 13:31:33 -07:00
sse_output_recovery.py refactor(repositories): type prisma table access with one generic protocol 2026-08-25 12:14:17 +00:00
streaming_iterator.py Merge remote-tracking branch 'origin/main' into litellm_decrease_anys_opus5_r5 2026-09-21 12:57:38 -07:00
utils.py Merge remote-tracking branch 'origin/main' into litellm_internal_copy_36887 2026-09-19 02:54:13 -07:00