Skip to content

The agent engineering platform.

groq: xfail tool_choice tests (#20247)

Erick Friis00552918ac57
diff --git a/libs/partners/groq/tests/integration_tests/test_chat_models.py b/libs/partners/groq/tests/integration_tests/test_chat_models.py
index f206509136..a5445b6c07 100644
--- a/libs/partners/groq/tests/integration_tests/test_chat_models.py
+++ b/libs/partners/groq/tests/integration_tests/test_chat_models.py
@@ -223,7 +223,7 @@ def test_system_message() -> None:
assert isinstance(response.content, str)
[email protected](reason="Groq tool_choice doesn't currently force a tool call")
def test_tool_choice() -> None:
"""Test that tool choice is respected."""
llm = ChatGroq()
@@ -248,7 +248,7 @@ def test_tool_choice() -> None:
assert tool_call["type"] == "function"
[email protected](reason="Groq tool_choice doesn't currently force a tool call")
def test_tool_choice_bool() -> None:
"""Test that tool choice is respected just passing in True."""
llm = ChatGroq()
@@ -273,6 +273,7 @@ def test_tool_choice_bool() -> None:
assert tool_call["type"] == "function"
[email protected](reason="Groq tool_choice doesn't currently force a tool call")
def test_streaming_tool_call() -> None:
"""Test that tool choice is respected."""
llm = ChatGroq()
@@ -302,6 +303,7 @@ def test_streaming_tool_call() -> None:
assert tool_call["type"] == "function"
[email protected](reason="Groq tool_choice doesn't currently force a tool call")
async def test_astreaming_tool_call() -> None:
"""Test that tool choice is respected."""
llm = ChatGroq()