Feat : better file system interaction
This commit is contained in:
1 parent
06d207da53
commit
7710fb3f9d
13 files changed
+204
-50
No files matched your search
@@ -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__":
|
||||
|
||||
Reference in new issue
Block a user