From 7d2bbba25f5f0208cd23514d5c7d1dbf874208f9 Mon Sep 17 00:00:00 2001 From: Mason Daugherty Date: Mon, 20 Jul 2026 15:49:26 -0400 Subject: [PATCH] fix(groq): update reasoning integration model (#38976) Requests for `qwen/qwen3-32b` now return `model_not_found` under the Groq integration-test credentials, so the reasoning invoke, stream, and disabled-effort tests fail before exercising `ChatGroq`. This switches those cases to `qwen/qwen3.6-27b`, which Groq documents as supporting parsed reasoning and `reasoning_effort="none"`, and shares the reasoning-model constant across all three tests. --- .../groq/tests/integration_tests/test_chat_models.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 e3b68c72f64..c457d3f8386 100644 --- a/libs/partners/groq/tests/integration_tests/test_chat_models.py +++ b/libs/partners/groq/tests/integration_tests/test_chat_models.py @@ -28,8 +28,8 @@ DEFAULT_MODEL_NAME = "openai/gpt-oss-20b" TOOL_CALLING_MODEL_NAME = "qwen/qwen3.6-27b" TOOL_CALLING_MODEL_KWARGS: dict[str, Any] = {"reasoning_effort": "none"} -# gpt-oss doesn't support `reasoning_effort` -REASONING_MODEL_NAME = "qwen/qwen3-32b" +# GPT-OSS models don't support `reasoning_format` +REASONING_MODEL_NAME = "qwen/qwen3.6-27b" # @@ -278,7 +278,7 @@ def test_reasoning_output_stream() -> None: def test_reasoning_effort_none() -> None: """Test that no reasoning output is returned if effort is set to none.""" chat = ChatGroq( - model="qwen/qwen3-32b", # Only qwen3 currently supports reasoning_effort = none + model=REASONING_MODEL_NAME, reasoning_effort="none", ) message = HumanMessage(content="What is the capital of France?")