litellm/tests/integration/translation/messages/bases
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
anthropic.py test(integration): anthropic-route basic translation cases for six Claude models on messages, chat completions and responses (#44607) 2026-10-05 18:24:01 +00:00
azure.py test(integration): basic translation cases for the azure route (#44672) 2026-10-05 22:24:42 +00:00
azure_ai.py test(integration): azure_ai-route basic translation cases on messages, chat completions and responses (#44658) 2026-10-05 15:01:55 -07:00
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
bedrock_converse.py test(integration): bedrock_converse-route basic translation cases on messages, chat completions and responses (#44646) 2026-10-05 21:39:34 +00:00
bedrock_invoke.py test(integration): basic translation cases for the bedrock_invoke route (#44752) 2026-10-05 19:31:46 -07:00
bedrock_mantle.py test(integration): basic translation cases for the bedrock_mantle route (#44750) 2026-10-06 03:17:34 +00:00
gemini.py test(integration): basic translation cases for the gemini route (#44662) 2026-10-05 15:32:26 -07:00
openai.py test(integration): basic translation cases for the openai route (#44667) 2026-10-05 15:32:50 -07:00
openai_responses.py test(integration): basic translation cases for the openai_responses route (#44663) 2026-10-05 15:06:10 -07:00
vertex_ai.py test(integration): basic translation cases for the vertex_ai route (#44751) 2026-10-05 20:00:19 -07:00