Gemini: remove debugs

This commit is contained in:
projectmoon 2024-11-30 21:38:26 +01:00
parent 1b2ae3868b
commit 05d0a792ce
1 changed files with 1 additions and 3 deletions

View File

@ -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"]