Skip to content

Commit 2f3089f

Browse files
committed
fix model strings again
Co-authored by: tamoghnokandar <[email protected]>
1 parent c88fa83 commit 2f3089f

File tree

3 files changed

+19
-5
lines changed

3 files changed

+19
-5
lines changed

examples/agent_examples.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ async def run_agent_example():
4545
# model="anthropic/claude-opus-4-20250514",
4646
# model="anthropic/claude-sonnet-4-20250514",
4747
# model="anthropic/claude-3-7-sonnet-20250219",
48+
# model="anthropic/claude-3-5-sonnet-20241022",
4849
# model="anthropic/claude-sonnet-4-5-20250929",
4950
# == UI-TARS ==
5051
# model="huggingface-local/ByteDance-Seed/UI-TARS-1.5-7B",

libs/python/agent/agent/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ async def main():
233233
Examples:
234234
python -m agent.cli openai/computer-use-preview
235235
python -m agent.cli anthropic/claude-sonnet-4-5-20250929
236-
python -m agent.cli omniparser+anthropic/claude-3-5-sonnet-20241022
236+
python -m agent.cli omniparser+anthropic/claude-sonnet-4-5-20250929
237237
python -m agent.cli huggingface-local/ByteDance-Seed/UI-TARS-1.5-7B
238238
""",
239239
)

notebooks/ollama_nb.ipynb

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@
205205
"\n",
206206
"Examples:\n",
207207
"- `openai/computer-use-preview+ollama/gemma3:4b`\n",
208-
"- `anthropic/claude-3-5-sonnet-20241022+ollama/gemma3:4b`\n"
208+
"- `anthropic/claude-sonnet-4-5-20250929+ollama/gemma3:4b`\n"
209209
]
210210
},
211211
{
@@ -219,7 +219,7 @@
219219
"import logging\n",
220220
"\n",
221221
"agent_composed = ComputerAgent(\n",
222-
" model=\"anthropic/claude-3-5-sonnet-20241022+ollama/gemma3:4b\",\n",
222+
" model=\"anthropic/anthropic/claude-sonnet-4-5-20250929+ollama/gemma3:4b\",\n",
223223
" tools=[computer],\n",
224224
" trajectory_dir='trajectories',\n",
225225
" only_n_most_recent_images=3,\n",
@@ -236,7 +236,20 @@
236236
"cell_type": "markdown",
237237
"id": "section-3-conceptual",
238238
"metadata": {},
239-
"source": "## 3) Customize your agent 🛠️\n\nFor a few customization options, see: https://cua.ai/docs/agent-sdk/customizing-computeragent\n\nLevels of customization you can explore:\n\n1) Simple — Prompt engineering\n2) Easy — Tools\n3) Intermediate — Callbacks\n4) Expert — Custom agent via `register_agent` (see `libs/python/agent/agent/decorators.py` → `register_agent`)\n\nor, incorporate the ComputerAgent into your own agent framework!"
239+
"source": [
240+
"## 3) Customize your agent 🛠️\n",
241+
"\n",
242+
"For a few customization options, see: https://cua.ai/docs/agent-sdk/customizing-computeragent\n",
243+
"\n",
244+
"Levels of customization you can explore:\n",
245+
"\n",
246+
"1) Simple — Prompt engineering\n",
247+
"2) Easy — Tools\n",
248+
"3) Intermediate — Callbacks\n",
249+
"4) Expert — Custom agent via `register_agent` (see `libs/python/agent/agent/decorators.py` → `register_agent`)\n",
250+
"\n",
251+
"or, incorporate the ComputerAgent into your own agent framework!"
252+
]
240253
},
241254
{
242255
"cell_type": "markdown",
@@ -276,4 +289,4 @@
276289
},
277290
"nbformat": 4,
278291
"nbformat_minor": 5
279-
}
292+
}

0 commit comments

Comments
 (0)