diff --git a/frigate/genai/gemini.py b/frigate/genai/gemini.py index fb462f003..e5cf39e4d 100644 --- a/frigate/genai/gemini.py +++ b/frigate/genai/gemini.py @@ -139,7 +139,6 @@ class GeminiClient(GenAIClient): ) contents.append({"role": "model", "parts": parts}) elif role == "tool": - tool_call_id = msg.get("tool_call_id") tool_name = msg.get("name", "") tool_result = ( json.loads(content) if isinstance(content, str) else content