Fix : major displaying issues and libraries warning

This commit is contained in:
martin legrand committed 2025-03-11 11:45:02 +01:00
1 parent 60e740f605
commit ed02a4dad0
6 files changed
+44 -38

No files matched your search

+2 -2
View File
@@ -27,13 +27,13 @@ class CasualAgent(Agent):
self.wait_message(speech_module)
while not complete:
if exec_success:
complete = True
animate_thinking("Thinking...", color="status")
answer, reasoning = self.llm_request()
exec_success, _ = self.execute_modules(answer)
answer = self.remove_blocks(answer)
self.last_answer = answer
if exec_success:
complete = True
return answer, reasoning
if __name__ == "__main__":
+1
View File
@@ -32,6 +32,7 @@ class CoderAgent(Agent):
animate_thinking("Thinking...", color="status")
self.wait_message(speech_module)
answer, reasoning = self.llm_request()
animate_thinking("Executing code...", color="status")
exec_success, _ = self.execute_modules(answer)
answer = self.remove_blocks(answer)
self.last_answer = answer