Skip to content

Commit f1542c6

Browse files
committed
test(anthropic): retry flaky thinking tool-use integration test
1 parent 6bbf313 commit f1542c6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

libs/partners/anthropic/tests/integration_tests/test_chat_models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1263,6 +1263,7 @@ def test_structured_output_thinking_enabled() -> None:
12631263
assert isinstance(chunk, GenerateUsername)
12641264

12651265

1266+
@pytest.mark.retry(count=3, delay=1)
12661267
def test_structured_output_thinking_force_tool_use() -> None:
12671268
# Structured output currently relies on forced tool use, which is not supported
12681269
# when `thinking` is enabled. When this test fails, it means that the feature

0 commit comments

Comments
 (0)