litellm/tests/unit/completion_extras/litellm_responses_transformation
tavren27 d545c7eab9
fix(responses): keep access_programs on chat completions on OpenAI SDK 3 (#51814)
* fix(responses): keep access_programs on chat completions on OpenAI SDK 3

The Responses-to-chat bridge hid every field the installed SDK's Response
declared, so SDK 3 dropped access_programs, prompt_cache_options, and
prompt_cache_diagnostics and let metadata through on streams. A fixed list
gives the same output on SDK 2 and SDK 3.

* refactor(responses): name the hidden Responses fields for what they hold

---------

Co-authored-by: mateo-berri <277851410+mateo-berri@users.noreply.github.com>
2026-11-24 12:17:54 -08: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 feat(vertex_ai): add Meta Muse models on Vertex AI (#50768) 2026-11-21 13:00:24 -08: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): keep access_programs on chat completions on OpenAI SDK 3 (#51814) 2026-11-24 12:17:54 -08:00