Skip to content

Commit 7ba3e80

Browse files
authored
test(openai): mark test_structured_output_and_tools flaky (#34223)
Often raises `KeyError: 'explanation'`
1 parent 50e27a4 commit 7ba3e80

File tree

1 file changed

+1
-0
lines changed
  • libs/partners/openai/tests/integration_tests/chat_models

1 file changed

+1
-0
lines changed

libs/partners/openai/tests/integration_tests/chat_models/test_base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1157,6 +1157,7 @@ class ResponseFormatDict(TypedDict):
11571157
explanation: str
11581158

11591159

1160+
@pytest.mark.flaky(retries=3, delay=1)
11601161
@pytest.mark.parametrize(
11611162
"schema", [ResponseFormat, ResponseFormat.model_json_schema(), ResponseFormatDict]
11621163
)

0 commit comments

Comments
 (0)