litellm/tests/unit/completion_extras
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
..
litellm_responses_transformation fix(responses): keep access_programs on chat completions on OpenAI SDK 3 (#51814) 2026-11-24 12:17:54 -08:00
__init__.py test: add __init__.py to migrated tests/unit packages 2026-09-20 11:53:49 +00:00
test_litellm_responses_transformation_transformation.py test: migrate wave 1 phase 1 legacy tests to tests/unit 2026-09-20 09:17:57 +00:00
test_responses_bridge_provider_propagation.py fix(responses): honor request cache controls on chat completions bridged to the Responses API (#44676) 2026-10-05 17:52:44 -07:00