Feat : better file system interaction

This commit is contained in:
martin legrand committed 2025-03-09 12:45:29 +01:00
1 parent 06d207da53
commit 7710fb3f9d
13 files changed
+204 -50

No files matched your search

+2
View File
@@ -40,6 +40,8 @@ class CoderAgent(Agent):
break
self.show_answer()
attempt += 1
if attempt == max_attempts:
return "I'm sorry, I couldn't find a solution to your problem. How would you like me to proceed ?", reasoning
return answer, reasoning
if __name__ == "__main__":