litellm/tests/unit/llms/anthropic/messages
Kerry Lu ecb862f655
fix(responses): keep string tool output a string in the chat to Responses bridge (#55224)
* fix(responses): keep string tool output a string in the chat to Responses bridge

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

* credit the earlier fix in #35043

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

* update the remaining tests that expected the list form

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>
Co-authored-by: srijavuppala <srijavuppala11@gmail.com>
2026-11-30 10:43:28 -08:00
..
adapters fix(anthropic): keep caller tool_use ids unless the upstream rejects them (#54468) 2026-11-26 05:55:01 +00:00
context_management fix(messages): answer 400 for a non-string user or system text block and keep count_tokens in step with inference (#54165) 2026-11-25 00:48:41 +00:00
native fix(responses): keep string tool output a string in the chat to Responses bridge (#55224) 2026-11-30 10:43:28 -08:00
responses_adapters fix(messages): honor an explicit output_config.effort beside a thinking budget (#49846) 2026-11-25 19:52:33 -08:00
__init__.py
conftest.py fix(messages): honor an explicit output_config.effort beside a thinking budget (#49846) 2026-11-25 19:52:33 -08:00
test_advisor_orchestration.py fix(anthropic): a non-string advisor block id no longer answers 500 (#54167) 2026-11-24 10:21:39 -08:00
test_anthropic_native_passthrough_spend_logging.py refactor(anthropic): rename llms/anthropic/pass_through to llms/anthropic/messages (#48510) 2026-10-27 10:08:25 -07:00
test_caller_model_checks.py feat(auth): read teams, team memberships and organizations through rust repositories (#52176) 2026-11-18 22:32:05 +00:00
test_convertible_blocks.py fix(messages): answer 400 for a non-string user or system text block and keep count_tokens in step with inference (#54165) 2026-11-25 00:48:41 +00:00
test_deferred_tool_emulation.py feat(anthropic-messages): per-deployment deferred_tools handling on the /v1/messages bridge (#54183) 2026-11-25 17:14:28 +00:00
test_reasoning_effort_fields.py fix(anthropic)!: keep thinking disabled, display, between_tools, and effort on /v1/messages to OpenAI (#49765) 2026-11-24 01:43:29 +00:00
test_safeguards.py fix(anthropic): log the safeguards classifier and compaction summary calls in the parent request's session (#53405) 2026-11-24 01:31:04 -08:00
test_stream_assembly.py fix(guardrails): judge and deliver the /v1/messages stream frames a client reads in tool_permission (#53673) 2026-11-23 09:37:13 -08:00