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_responses_api_shell_tool_streaming_sees_shell_output

Ishaan Jaffer77dd3cb2b2a1
diff --git a/tests/llm_responses_api_testing/base_responses_api.py b/tests/llm_responses_api_testing/base_responses_api.py
index a5b2370fdd9..ed3c20a8809 100644
--- a/tests/llm_responses_api_testing/base_responses_api.py
+++ b/tests/llm_responses_api_testing/base_responses_api.py
@@ -768,6 +768,10 @@ class BaseResponsesAPITest(ABC):
model = self.get_advanced_model_for_shell_tool() or base_completion_call_args.get(
"model"
) or "openai/gpt-5.2"
+ if "openai/" not in str(model) and "azure/" not in str(model):
+ pytest.skip(
+ "Shell tool streaming e2e is only run for OpenAI/Azure Responses API"
+ )
tools = [{"type": "shell", "environment": {"type": "container_auto"}}]
input_msg = "List files in /mnt/data and run python --version."