From e002031261d21b4358264de7562f7a34c48b0542 Mon Sep 17 00:00:00 2001 From: Chester Curme Date: Tue, 17 Dec 2024 13:26:42 -0500 Subject: [PATCH] fix groq --- libs/partners/groq/tests/integration_tests/test_standard.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/partners/groq/tests/integration_tests/test_standard.py b/libs/partners/groq/tests/integration_tests/test_standard.py index c5c231a19c88c..b62982e4ec9cc 100644 --- a/libs/partners/groq/tests/integration_tests/test_standard.py +++ b/libs/partners/groq/tests/integration_tests/test_standard.py @@ -45,6 +45,10 @@ def tool_choice_value(self) -> Optional[str]: """Value to use for tool choice when used in tests.""" return "any" + @property + def supports_json_mode(self) -> bool: + return False # Not supported in streaming mode + @pytest.mark.xfail( reason=("Fails with 'Failed to call a function. Please adjust your prompt.'") )