refactor : message for status

This commit is contained in:
martin legrand
2025-04-18 18:31:11 +02:00
parent 5ac7df1854
commit 0f09ef92dd
6 changed files with 33 additions and 15 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ class CoderAgent(Agent):
self.status_message = "Correcting code..."
self.show_answer()
attempt += 1
self.status_message = "Done"
self.status_message = "Ready"
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