Skip to content

Commit 9ac6961

Browse files
committed
Xfail some unstable tests.
1 parent 689b80a commit 9ac6961

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

python/tests/integration/agents/openai_responses_agent/test_openai_responses_agent_integration.py

+4
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ async def test_invoke_stream_with_thread(
191191
indirect=["responses_agent"],
192192
ids=["openai-web-search-get-response"],
193193
)
194+
@pytest.mark.xfail(reason="The Responses API is unstable when using the web search tool.")
194195
async def test_web_search_get_response(self, responses_agent: OpenAIResponsesAgent, agent_test_base: AgentTestBase):
195196
"""Test code interpreter."""
196197
input_text = "Find articles about the latest AI trends."
@@ -343,6 +344,7 @@ async def test_function_calling_stream(self, responses_agent: OpenAIResponsesAge
343344
indirect=["responses_agent"],
344345
ids=["azure-structured-outputs-get-response", "openai-structured-outputs-get-response"],
345346
)
347+
@pytest.mark.xfail(reason="The Responses API is unstable when configuring structured outputs.")
346348
async def test_structured_outputs_get_response(
347349
self, responses_agent: OpenAIResponsesAgent, agent_test_base: AgentTestBase
348350
):
@@ -364,6 +366,7 @@ async def test_structured_outputs_get_response(
364366
indirect=["responses_agent"],
365367
ids=["azure-structured-outputs-invoke", "openai-structured-outputs-invoke"],
366368
)
369+
@pytest.mark.xfail(reason="The Responses API is unstable when configuring structured outputs.")
367370
async def test_structured_outputs_invoke(
368371
self, responses_agent: OpenAIResponsesAgent, agent_test_base: AgentTestBase
369372
):
@@ -387,6 +390,7 @@ async def test_structured_outputs_invoke(
387390
indirect=["responses_agent"],
388391
ids=["azure-structured-outputs-invoke-stream", "openai-structured-outputs-invoke-stream"],
389392
)
393+
@pytest.mark.xfail(reason="The Responses API is unstable when configuring structured outputs.")
390394
async def test_structured_outputs_stream(
391395
self, responses_agent: OpenAIResponsesAgent, agent_test_base: AgentTestBase
392396
):

0 commit comments

Comments
 (0)