litellm/tests/unit/completion_extras/litellm_responses_transformation
Mateo Wang 4c8ae9b623
fix(responses): send bridged system prompts as input messages so GPT-6.2 caches them (#52599)
* fix(responses): send bridged system prompts as input messages so GPT-6.2 caches them

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(responses): type continuation parameters for lint gate

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(responses): retain chained system prompts and explicit cache marks

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(responses): preserve instructions outside OpenAI bridges

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(responses): retain instructions with automatic truncation

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(responses): combine preserved Messages caller instructions

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-11-18 21:12:55 +00:00
..
__init__.py test: move tests/test_litellm root and small trees into tests/unit (#43186) 2026-09-25 11:30:43 -07:00
test_completion_extras_litellm_responses_transformation_handler.py test: move tests/test_litellm root and small trees into tests/unit (#43186) 2026-09-25 11:30:43 -07:00
test_completion_extras_litellm_responses_transformation_history.py fix(responses): replay phase on the azure route and tag streamed text deltas with phase (#51059) 2026-11-17 21:54:33 +00:00
test_completion_extras_litellm_responses_transformation_transformation.py fix(responses): send bridged system prompts as input messages so GPT-6.2 caches them (#52599) 2026-11-18 21:12:55 +00:00