latest nb

This commit is contained in:
Dillon DuPont
2025-09-18 10:53:00 -04:00
parent 03d7806549
commit e7a20fe4c2

View File

@@ -11,7 +11,7 @@
"\n",
"We'll cover three patterns:\n",
"\n",
"1. Use an all-in-one CUA model served by Ollama (e.g. `model=\"ollama/blaifa/InternVL3_5\"`).\n",
"1. Use an all-in-one CUA model served by Ollama (e.g. `model=\"ollama/blaifa/InternVL3_5:8b\"`).\n",
"2. Use a strong CUA grounding model composed with an Ollama VLM (e.g. `model=\"openai/computer-use-preview+ollama/gemma3:4b\"`).\n",
"3. Conceptual: different ways to customize/extend your agent (link + outline only).\n"
]
@@ -164,7 +164,7 @@
"Some community models on Ollama are trained for computer use end-to-end.\n",
"Point the agent's model to an Ollama-served model using the `ollama/` prefix.\n",
"\n",
"Example: `model=\"ollama/blaifa/InternVL3_5\"`.\n"
"Example: `model=\"ollama/blaifa/InternVL3_5:8b\"`.\n"
]
},
{
@@ -177,9 +177,6 @@
"import logging\n",
"from pathlib import Path\n",
"from agent import ComputerAgent\n",
"import os\n",
"\n",
"os.environ['OLLAMA_API_BASE'] = 'http://localhost:11434'\n",
"\n",
"agent_all_in_one = ComputerAgent(\n",
" model=\"ollama/blaifa/InternVL3_5:8b\",\n",
@@ -273,12 +270,21 @@
],
"metadata": {
"kernelspec": {
"display_name": ".venv",
"display_name": "cua",
"language": "python",
"name": "python3"
},
"language_info": {
"name": "python"
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.11"
}
},
"nbformat": 4,