Mark options of disabled select non-interactable (#540)
This commit is contained in:
@@ -678,6 +678,17 @@ class ForgeAgent:
|
||||
)
|
||||
# stop executing the rest actions
|
||||
break
|
||||
elif results and not results[-1].success and not results[-1].stop_execution_on_failure:
|
||||
LOG.warning(
|
||||
"Action failed, but not stopping execution",
|
||||
task_id=task.task_id,
|
||||
step_id=step.step_id,
|
||||
step_order=step.order,
|
||||
step_retry=step.retry_index,
|
||||
action_idx=action_idx,
|
||||
action=action,
|
||||
action_result=results,
|
||||
)
|
||||
else:
|
||||
if action_node.next is not None:
|
||||
LOG.warning(
|
||||
@@ -1004,6 +1015,7 @@ class ForgeAgent:
|
||||
"interacted_with_parent",
|
||||
"step_retry_number",
|
||||
"step_order",
|
||||
"stop_execution_on_failure",
|
||||
},
|
||||
)
|
||||
for result in results
|
||||
|
||||
@@ -9,7 +9,7 @@ If you see a popup in the page screenshot, prioritize actions on the popup.
|
||||
|
||||
Reply in JSON format with the following keys:
|
||||
{
|
||||
"action_plan": str, // A string that describes the plan of actions you're going to take. Be specific and to the point. Use this as a quick summary of the actions you're going to take, and what order you're going to take them in
|
||||
"action_plan": str, // A string that describes the plan of actions you're going to take. Be specific and to the point. Use this as a quick summary of the actions you're going to take, and what order you're going to take them in, and how that moves you towards your overall goal
|
||||
"actions": array // An array of actions. Here's the format of each action:
|
||||
[{
|
||||
"reasoning": str, // The reasoning behind the action. Be specific, referencing any user information and their fields and element ids in your reasoning. Mention why you chose the action type, and why you chose the element id. Keep the reasoning short and to the point.
|
||||
|
||||
Reference in New Issue
Block a user