From a2af2d471c01e206bcc2625e6471305bbf46a1b8 Mon Sep 17 00:00:00 2001 From: pfolex Date: Fri, 23 Oct 2026 21:42:21 -0400 Subject: [PATCH] fix(groq): preserve tool-calling json workaround for Llama models --- litellm/model_prices_and_context_window_backup.json | 3 --- model_prices_and_context_window.json | 3 --- tests/unit/test_groq_llama_model_metadata.py | 1 - 3 files changed, 7 deletions(-) diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json index 691712a02b1..491a7a9ceac 100644 --- a/litellm/model_prices_and_context_window_backup.json +++ b/litellm/model_prices_and_context_window_backup.json @@ -39238,7 +39238,6 @@ "source": "https://groq.com/pricing", "supports_function_calling": true, "supports_parallel_function_calling": true, - "supports_response_schema": true, "supports_tool_choice": true }, "groq/llama-3.3-70b-specdec": { @@ -39252,7 +39251,6 @@ "source": "https://groq.com/pricing", "supports_function_calling": true, "supports_parallel_function_calling": true, - "supports_response_schema": true, "supports_tool_choice": true }, "groq/llama-3.3-70b-versatile": { @@ -39266,7 +39264,6 @@ "source": "https://groq.com/pricing", "supports_function_calling": true, "supports_parallel_function_calling": true, - "supports_response_schema": true, "supports_tool_choice": true }, "groq/llama-guard-3-8b": { diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index 691712a02b1..491a7a9ceac 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -39238,7 +39238,6 @@ "source": "https://groq.com/pricing", "supports_function_calling": true, "supports_parallel_function_calling": true, - "supports_response_schema": true, "supports_tool_choice": true }, "groq/llama-3.3-70b-specdec": { @@ -39252,7 +39251,6 @@ "source": "https://groq.com/pricing", "supports_function_calling": true, "supports_parallel_function_calling": true, - "supports_response_schema": true, "supports_tool_choice": true }, "groq/llama-3.3-70b-versatile": { @@ -39266,7 +39264,6 @@ "source": "https://groq.com/pricing", "supports_function_calling": true, "supports_parallel_function_calling": true, - "supports_response_schema": true, "supports_tool_choice": true }, "groq/llama-guard-3-8b": { diff --git a/tests/unit/test_groq_llama_model_metadata.py b/tests/unit/test_groq_llama_model_metadata.py index 887612e4393..78d4239965c 100644 --- a/tests/unit/test_groq_llama_model_metadata.py +++ b/tests/unit/test_groq_llama_model_metadata.py @@ -43,7 +43,6 @@ def test_groq_llama_metadata_in_main_and_backup(model: str): assert info["mode"] == "chat" assert info["supports_function_calling"] is True assert info["supports_parallel_function_calling"] is True - assert info["supports_response_schema"] is True assert info["supports_tool_choice"] is True