From ad610d2f90e682ad9c8bdefdd955b6270f92c135 Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 14 Apr 2025 23:49:40 +0100 Subject: [PATCH] fix: lint ruff --- application/llm/google_ai.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/application/llm/google_ai.py b/application/llm/google_ai.py index 8ca5a4a0..c049eaa2 100644 --- a/application/llm/google_ai.py +++ b/application/llm/google_ai.py @@ -308,8 +308,6 @@ class GoogleLLM(BaseLLM): config=config, ) - # Track if we've seen any function calls - function_call_seen = False for chunk in response: if hasattr(chunk, "candidates") and chunk.candidates: @@ -317,7 +315,6 @@ class GoogleLLM(BaseLLM): if candidate.content and candidate.content.parts: for part in candidate.content.parts: if part.function_call: - function_call_seen = True yield part elif part.text: yield part.text