mirror of
https://github.com/hwchase17/langchain.git
synced 2026-06-09 10:17:00 +00:00
test(openai): mark test_structured_output_and_tools flaky (#34223)
Often raises `KeyError: 'explanation'`
This commit is contained in:
@@ -1157,6 +1157,7 @@ class ResponseFormatDict(TypedDict):
|
|||||||
explanation: str
|
explanation: str
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.flaky(retries=3, delay=1)
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
"schema", [ResponseFormat, ResponseFormat.model_json_schema(), ResponseFormatDict]
|
"schema", [ResponseFormat, ResponseFormat.model_json_schema(), ResponseFormatDict]
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user