bug fixing

This commit is contained in:
João Moura
2024-02-20 10:40:16 -03:00
parent 090d965af3
commit 9bd1dd4d01
6 changed files with 38 additions and 36 deletions

View File

@@ -18,7 +18,6 @@ class ToolsHandler:
def on_tool_use(self, calling: ToolCalling, output: str) -> Any:
"""Run when tool ends running."""
print(f"Tool {calling.tool_name} has been used.")
self.last_used_tool = calling
if calling.tool_name != CacheTools().name:
self.cache.add(