From 05d0a792ceb27b691fef359d0549e87ed9c26c4b Mon Sep 17 00:00:00 2001 From: projectmoon Date: Sat, 30 Nov 2024 21:38:26 +0100 Subject: [PATCH] Gemini: remove debugs --- gemini.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gemini.py b/gemini.py index e4316ec..5033a97 100644 --- a/gemini.py +++ b/gemini.py @@ -140,8 +140,6 @@ class Tools: resp = fetch(gemini_url, correct_urls=self.valves.attempt_url_correction) if resp["success"]: result_instructions = instructions(gemini_url, redirect=resp["redirected"]) - stuff = f"{result_instructions}\n\n```\n{resp['content']}\n```" - print(stuff) - return stuff + return f"{result_instructions}\n\n```\n{resp['content']}\n```" else: return resp["content"]