Spaces:
Running
Running
Amir Mahla
commited on
Commit
·
eb92f6f
1
Parent(s):
02dbe84
FIX nit
Browse files
cua2-core/src/cua2_core/services/agent_utils/prompt.py
CHANGED
|
@@ -113,8 +113,10 @@ Never manually click the browser icon — use `open_url()` directly for web page
|
|
| 113 |
press(['enter'])
|
| 114 |
write("Second line of text")
|
| 115 |
press(['enter'])
|
|
|
|
|
|
|
| 116 |
```
|
| 117 |
-
This allows you to write multiple lines efficiently in a single step.
|
| 118 |
- Complete one atomic action per step: e.g., **click**, **type**, or **wait**. Exception: For multiline document writing, you may combine multiple write and press enter actions in one step.
|
| 119 |
- Never combine multiple tool calls in one step, except for multiline document writing as described above.
|
| 120 |
- Validate that your previous action succeeded before continuing.
|
|
|
|
| 113 |
press(['enter'])
|
| 114 |
write("Second line of text")
|
| 115 |
press(['enter'])
|
| 116 |
+
write("Third line of text")
|
| 117 |
+
press(['enter'])
|
| 118 |
```
|
| 119 |
+
**IMPORTANT**: This allows you to write multiple lines efficiently in a single step. Always use this approach when writing multiline text in documents.
|
| 120 |
- Complete one atomic action per step: e.g., **click**, **type**, or **wait**. Exception: For multiline document writing, you may combine multiple write and press enter actions in one step.
|
| 121 |
- Never combine multiple tool calls in one step, except for multiline document writing as described above.
|
| 122 |
- Validate that your previous action succeeded before continuing.
|