litellm/tests/test_litellm/completion_extras
milan-berri 273855b4e2
fix(responses-bridge): map system-only chat request to system input item (#29817)
System-only chat requests mapped the system message to instructions and left
input=[], which OpenAI's Responses API rejects (it also rejects input=""). When
no other messages are present, carry the system message as a role:"system" input
item (single copy, correct role) instead of leaving input empty. Mirrors the
existing handling of non-string system content. Fixes Open WebUI new-conversation
failures on mode:responses Codex models.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-06 16:11:54 -07:00
..
litellm_responses_transformation fix(responses-bridge): map system-only chat request to system input item (#29817) 2026-06-06 16:11:54 -07:00
__init__.py Litellm oss staging 030626 (#29578) 2026-06-03 11:01:51 -07:00
test_litellm_responses_transformation_transformation.py fix(caching): replay openai/responses bridge cache hits as chat streams (#28158) 2026-05-18 16:27:06 -07:00
test_responses_bridge_provider_propagation.py Litellm oss staging 030626 (#29578) 2026-06-03 11:01:51 -07:00