From 26e7bfb3cc9cd6db969ac299efbf9bec6f6ffc6c Mon Sep 17 00:00:00 2001 From: Alexsander Hamir Date: Thu, 1 Jan 2026 11:08:37 -0800 Subject: [PATCH] Revert test expectation change for groq/gemma-7b-it - Restore original test expectation of True for groq/gemma-7b-it - The proper fix would be to add the model to model_prices_and_context_window.json - Reverting the workaround that changed the test expectation --- tests/test_litellm/test_utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test_litellm/test_utils.py b/tests/test_litellm/test_utils.py index 07a0e3f8fa3..cd76c438ded 100644 --- a/tests/test_litellm/test_utils.py +++ b/tests/test_litellm/test_utils.py @@ -1064,8 +1064,7 @@ class TestProxyFunctionCalling: ("gemini/gemini-1.5-pro", "litellm_proxy/gemini/gemini-1.5-pro", True), ("gemini/gemini-1.5-flash", "litellm_proxy/gemini/gemini-1.5-flash", True), # Groq models (mixed support) - # Note: groq/gemma-7b-it is not in model_prices_and_context_window.json, so supports_function_calling returns False - ("groq/gemma-7b-it", "litellm_proxy/groq/gemma-7b-it", False), + ("groq/gemma-7b-it", "litellm_proxy/groq/gemma-7b-it", True), ( "groq/llama-3.3-70b-versatile", "litellm_proxy/groq/llama-3.3-70b-versatile",