Fix ready flag detection to handle both execute and continue executing variations

Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
Devin AI
2025-05-27 09:22:19 +00:00
committed by João Moura
parent 81f4182e3b
commit 1b18310cf7
2 changed files with 59 additions and 42 deletions

View File

@@ -368,7 +368,7 @@ class AgentReasoning:
plan = response
ready = False
if "READY: I am ready to execute the task." in response:
if "READY: I am ready to execute the task." in response or "READY: I am ready to continue executing the task." in response:
ready = True
return plan, ready