edit prompt

This commit is contained in:
yuanmengqi
2025-06-08 03:59:31 +00:00
parent f48d80002f
commit d8872634ee
4 changed files with 45 additions and 36 deletions

View File

@@ -690,10 +690,10 @@ class OpenAICUAAgent:
state_correct = False
# if action_exit and thought_exit:
# state_correct = True
if action_exit and not message_exit:
state_correct = True
# if action_exit:
# state_correct = True
# if action_exit and not message_exit:
# state_correct = True
if action_exit:
state_correct = True
if not state_correct:
logger.warning("The state of the agent is not correct, action_exit: %s, thought_exit: %s, message_exit: %s", action_exit, thought_exit, message_exit)