mirror of
https://github.com/BerriAI/litellm.git
synced 2026-12-03 01:38:46 +00:00
* fix(responses): keep a tool output that answers no call as a user turn on the chat bridge Codex desktop heartbeats arrive as a function_call_output with a null call_id. The Responses to chat completions bridge dropped them, so a Claude conversation ended on the assistant reply and the provider refused it as assistant prefill. Any tool output that answers no call of the assistant turn before it now reaches the model as a user turn carrying its content, on full-history and stored follow-up requests alike. * refactor(responses): reuse the bridge's message readers for unpaired tool outputs * fix(responses): keep a tool reference in an unpaired tool output as text so the user turn passes validation * fix(guardrails): scan a Responses tool output with no call id, since the bridge now sends it to the model * test(codex): leave the heartbeat e2e row for a follow-up once the fix lands |
||
|---|---|---|
| .. | ||
| guardrail_translation | ||
| __init__.py | ||
| conftest.py | ||
| test_anthropic_chat_handler.py | ||
| test_anthropic_chat_transformation.py | ||
| test_code_interpreter_results_extraction.py | ||
| test_transformation.py | ||