File tree Expand file tree Collapse file tree
src/agentlab/agents/vl_agent/vl_prompt Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ def __init__(
104104 logs_limit : int = 5 ,
105105 ):
106106 text = """\
107- # The error from the last action
107+ # The error caused by the last action
108108"""
109109 if logs_separator in last_action_error :
110110 error , logs = last_action_error .split (logs_separator )
@@ -136,10 +136,9 @@ def __init__(
136136Here are all the actions you can take to interact with the browser. \
137137 They are Python functions based on the Playwright library.
138138{ action_set_description }
139- # The format requirements for the answer
139+ # The format of the answer
140140Think about the action to take, and choose it from the action space. \
141- Your answer should include both the thought and the action. \
142- Your answer should only include one thought and one action.
141+ Your answer should include one thought and one action.
143142"""
144143 if use_abstract_example :
145144 text += """\
@@ -157,8 +156,7 @@ def __init__(
157156<thought>
158157The goal is to click on the numbers in ascending order. \
159158 The smallest number visible on the screen is '1'. \
160- Based on the screenshot, '1' is located in the top-left quadrant of the white area. \
161- I will use the 'mouse_click' action to directly click on the visible '1' by specifying its coordinates.
159+ I will use the 'mouse_click' action to directly click on the number '1'.
162160</thought>
163161<action>
164162mouse_click(50, 50)
You can’t perform that action at this time.
0 commit comments