litellm/tests/test_litellm/llms/openai_like
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
..
responses test: keep the pinning-test removal free of unrelated reformatting 2026-09-18 04:27:28 +00:00
__init__.py [Feat] Allow adding OpenAI compatible chat providers using .json + add public ai provider (#17448) 2025-12-04 17:59:25 -08:00
test_abliteration_provider.py test: run the 30 test files stranded in the second mirror (#37595) 2026-08-20 10:59:43 -07:00
test_assemblyai_provider.py test: run the 30 test files stranded in the second mirror (#37595) 2026-08-20 10:59:43 -07:00
test_charity_engine.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_cognition_provider.py test: keep the pinning-test removal free of unrelated reformatting 2026-09-18 04:27:28 +00:00
test_dynamic_config.py test: close mutation-testing gaps in container, skills and openai-like config factories 2026-08-28 09:28:14 -07:00
test_empiriolabs_provider.py test: run the 30 test files stranded in the second mirror (#37595) 2026-08-20 10:59:43 -07:00
test_json_providers.py test: collapse blank lines left by removed tests 2026-09-08 02:21:55 +00:00
test_libertai_provider.py test: collapse blank lines left by removed tests 2026-09-08 02:21:55 +00:00
test_meta_provider.py test: keep the pinning-test removal free of unrelated reformatting 2026-09-18 04:27:28 +00:00
test_model_info.py feat(router): discover token limits for hosted OpenAI-compatible models 2026-09-16 23:19:54 +00:00
test_pinstripes_provider.py chore: litellm oss staging (#30745) 2026-06-18 13:55:35 -07:00
test_provider_affinity_forwarding.py feat: add configurable provider affinity header mapping (#41033) 2026-09-22 13:31:33 -07:00
test_scx_ai_provider.py test: keep the pinning-test removal free of unrelated reformatting 2026-09-18 04:27:28 +00:00
test_tensormesh_provider.py test: keep behavior tests that read the cost map for a later fixture rewrite 2026-09-18 04:52:06 +00:00
test_xiaomi_mimo.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00