edit prompt
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user