feat: improve compression/web agent memory management

This commit is contained in:
martin legrand
2025-05-05 14:15:32 +02:00
parent a7deffedec
commit e4591ea1b4
4 changed files with 74 additions and 15 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ class Agent():
"""
description = ""
for name in self.get_tools_name():
description += f"{tool}: {self.tools[name].description}\n"
description += f"{name}: {self.tools[name].description}\n"
return description
def load_prompt(self, file_path: str) -> str: