test_responses_api_shell_tool_streaming_sees_shell_output

This commit is contained in:
Ishaan Jaffer
2026-02-14 11:32:52 -08:00
parent 1730008657
commit 77dd3cb2b2
@@ -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."