[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2026-05-24 16:26:05 +00:00
commit aee1b7b9c1

View file

@ -830,6 +830,7 @@ def test_local_anthropic_disable_parallel_tool_use_translation():
invert it into OpenAI-shaped `parallel_tool_calls` so third-party
clients (Claude SDK, LiteLLM in passthrough mode) opt out of
parallel calls successfully even on the local model."""
# Mirror the extraction logic in routes/inference.py:anthropic_messages.
def _extract(tc):
if isinstance(tc, dict):