Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

test: parameterize the bridge tool turn fixture return type

mateo-berri9b837fccde6b
diff --git a/tests/test_litellm/llms/anthropic/experimental_pass_through/responses_adapters/test_responses_adapters_streaming_iterator.py b/tests/test_litellm/llms/anthropic/experimental_pass_through/responses_adapters/test_responses_adapters_streaming_iterator.py
index f5087204b2a..8b591fcd7da 100644
--- a/tests/test_litellm/llms/anthropic/experimental_pass_through/responses_adapters/test_responses_adapters_streaming_iterator.py
+++ b/tests/test_litellm/llms/anthropic/experimental_pass_through/responses_adapters/test_responses_adapters_streaming_iterator.py
@@ -168,7 +168,7 @@ class TestToolUseBlockClosedExactlyOnce:
"""
@staticmethod
- def _chat_completions_bridge_tool_turn() -> list:
+ def _chat_completions_bridge_tool_turn() -> list[dict[str, object]]:
return [
{"type": "response.created"},
{