diff --git a/libs/partners/groq/tests/integration_tests/test_standard.py b/libs/partners/groq/tests/integration_tests/test_standard.py index 38fe554c5c7..d34257b4c52 100644 --- a/libs/partners/groq/tests/integration_tests/test_standard.py +++ b/libs/partners/groq/tests/integration_tests/test_standard.py @@ -49,3 +49,12 @@ class TestGroqLlama(BaseTestGroq): ) def test_tool_message_histories_string_content(self, model: BaseChatModel) -> None: super().test_tool_message_histories_string_content(model) + + @pytest.mark.xfail( + reason=( + "Sometimes fails with 'Failed to call a function. " + "Please adjust your prompt.'" + ) + ) + def test_bind_runnables_as_tools(self, model: BaseChatModel) -> None: + super().test_bind_runnables_as_tools(model) diff --git a/libs/partners/groq/tests/unit_tests/test_standard.py b/libs/partners/groq/tests/unit_tests/test_standard.py index db84602711f..939d817499e 100644 --- a/libs/partners/groq/tests/unit_tests/test_standard.py +++ b/libs/partners/groq/tests/unit_tests/test_standard.py @@ -2,7 +2,6 @@ from typing import Type -import pytest from langchain_core.language_models import BaseChatModel from langchain_standard_tests.unit_tests.chat_models import ( ChatModelUnitTests, @@ -15,7 +14,3 @@ class TestGroqStandard(ChatModelUnitTests): @property def chat_model_class(self) -> Type[BaseChatModel]: return ChatGroq - - @pytest.mark.xfail(reason="Groq does not support tool_choice='any'") - def test_bind_tool_pydantic(self, model: BaseChatModel) -> None: - super().test_bind_tool_pydantic(model)