Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

Remove comments from example agent output

James Murdza300928050014
diff --git a/README.md b/README.md
index 7268046962..c94edd2dce 100644
--- a/README.md
+++ b/README.md
@@ -122,56 +122,52 @@ async for result in agent.run(messages):
```json
{
"output": [
- # user input
{
- "role": "user",
- "content": "go to trycua on gh"
+ "role": "user",
+ "content": "go to trycua on gh"
},
- # first agent turn adds the model output to the history
{
- "summary": [
- {
- "text": "Searching Firefox for Trycua GitHub",
- "type": "summary_text"
- }
- ],
- "type": "reasoning"
+ "summary": [
+ {
+ "text": "Searching Firefox for Trycua GitHub",
+ "type": "summary_text"
+ }
+ ],
+ "type": "reasoning"
},
{
- "action": {
- "text": "Trycua GitHub",
- "type": "type"
- },
- "call_id": "call_QI6OsYkXxl6Ww1KvyJc4LKKq",
- "status": "completed",
- "type": "computer_call"
+ "action": {
+ "text": "Trycua GitHub",
+ "type": "type"
+ },
+ "call_id": "call_QI6OsYkXxl6Ww1KvyJc4LKKq",
+ "status": "completed",
+ "type": "computer_call"
},
- # second agent turn adds the computer output to the history
{
- "type": "computer_call_output",
- "call_id": "call_QI6OsYkXxl6Ww1KvyJc4LKKq",
- "output": {
- "type": "input_image",
- "image_url": "data:image/png;base64,..."
- }
+ "type": "computer_call_output",
+ "call_id": "call_QI6OsYkXxl6Ww1KvyJc4LKKq",
+ "output": {
+ "type": "input_image",
+ "image_url": "data:image/png;base64,..."
+ }
},
- # final agent turn adds the agent output text to the history
{
- "type": "message",
- "role": "assistant",
- "content": [
- {
- "text": "Success! The Trycua GitHub page has been opened.",
- "type": "output_text"
- }
- ]
+ "type": "message",
+ "role": "assistant",
+ "content": [
+ {
+ "text": "Success! The Trycua GitHub page has been opened.",
+ "type": "output_text"
+ }
+ ]
}
],
"usage": {
- "prompt_tokens": 150,
- "completion_tokens": 75,
- "total_tokens": 225,
- "response_cost": 0.01,
+ "prompt_tokens": 150,
+ "completion_tokens": 75,
+ "total_tokens": 225,
+ "response_cost": 0.01
}
}
```