Skip to content

The agent engineering platform.

test(groq): xfail flaky tool choice test (#38365)

Mason Daugherty8e8177487003
diff --git a/libs/partners/groq/tests/integration_tests/test_standard.py b/libs/partners/groq/tests/integration_tests/test_standard.py
index c9b75352b1..ead21235f4 100644
--- a/libs/partners/groq/tests/integration_tests/test_standard.py
+++ b/libs/partners/groq/tests/integration_tests/test_standard.py
@@ -39,6 +39,11 @@ class TestGroq(ChatModelIntegrationTests):
def test_tool_calling(self, model: BaseChatModel) -> None:
super().test_tool_calling(model)
+ @pytest.mark.xfail(reason="Retry flaky tool choice behavior")
+ @pytest.mark.retry(count=3, delay=1)
+ def test_tool_choice(self, model: BaseChatModel) -> None:
+ super().test_tool_choice(model)
+
@pytest.mark.xfail(reason="Retry flaky tool calling behavior")
@pytest.mark.retry(count=3, delay=1)
async def test_tool_calling_async(self, model: BaseChatModel) -> None: