fix : reset of blocks

This commit is contained in:
martin legrand
2025-05-05 15:37:13 +02:00
parent de315a43a1
commit 101c103aeb
3 changed files with 6 additions and 2 deletions
-1
View File
@@ -248,7 +248,6 @@ class Agent():
answer = "I will execute:\n" + answer # there should always be a text before blocks for the function that display answer
self.success = True
self.blocks_result = []
for name, tool in self.tools.items():
feedback = ""
blocks, save_path = tool.load_exec_block(answer)