litellm/tests/integration/translation/messages/basic
devin-ai-integration[bot] 8080601a95
feat(bedrock): default Grok on Bedrock to native Chat Completions, mint unique tool call ids and drop stop (#45473)
* fix(bedrock): route Grok 4.7 tools with reasoning to native Chat Completions

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

* fix(bedrock): mint unique tool call ids on native Chat Completions

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

* fix(bedrock): send a blank text block for Converse tool results with no supported content

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

* feat(bedrock): default Grok on Bedrock to native Chat Completions and leave Converse unchanged

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

* fix(bedrock): gate tool call id minting to Grok on native Chat Completions

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

* refactor(bedrock): check the Grok tool call id gate at both call sites

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

* fix(bedrock): remint positional tool call ids on native Chat Completions for every model

AWS returned call_0, call_1 for GPT 5.6 as well as Grok on 2026-10-09 (and unique ids for GPT 5.6 earlier the same day), so the id format is not fixed per model. Drop the Grok-only gate and remint any call_<digits> id on the route

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

* fix(bedrock): drop stop sequences for Grok instead of forwarding them to a 400

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

---------

Co-authored-by: kerry <kerry@berri.ai>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-09 20:56:03 +00:00
..
__init__.py test(integration): exact four-part translation cases on a shared fake provider and shared YAML deployment (#44451) 2026-10-04 00:09:58 +00:00
test_messages_basic_anthropic.py test(integration): rename translation runner run to assert_translation (#44741) 2026-10-06 01:08:44 +00:00
test_messages_basic_azure.py test(integration): rename translation runner run to assert_translation (#44741) 2026-10-06 01:08:44 +00:00
test_messages_basic_azure_ai.py test(integration): rename translation runner run to assert_translation (#44741) 2026-10-06 01:08:44 +00:00
test_messages_basic_bedrock_chat_completions.py feat(bedrock): default Grok on Bedrock to native Chat Completions, mint unique tool call ids and drop stop (#45473) 2026-10-09 20:56:03 +00:00
test_messages_basic_bedrock_converse.py test(integration): rename translation runner run to assert_translation (#44741) 2026-10-06 01:08:44 +00:00
test_messages_basic_bedrock_invoke.py test(integration): basic translation cases for the bedrock_invoke route (#44752) 2026-10-05 19:31:46 -07:00
test_messages_basic_bedrock_mantle.py test(integration): basic translation cases for the bedrock_mantle route (#44750) 2026-10-06 03:17:34 +00:00
test_messages_basic_gemini.py test(integration): rename translation runner run to assert_translation (#44741) 2026-10-06 01:08:44 +00:00
test_messages_basic_openai.py test(integration): rename translation runner run to assert_translation (#44741) 2026-10-06 01:08:44 +00:00
test_messages_basic_openai_responses.py test(integration): rename translation runner run to assert_translation (#44741) 2026-10-06 01:08:44 +00:00
test_messages_basic_vertex_ai.py test(integration): basic translation cases for the vertex_ai route (#44751) 2026-10-05 20:00:19 -07:00