mirror of
https://github.com/trycua/computer.git
synced 2026-04-30 12:11:35 -05:00
Fix out-of-date agent SDK code in operator example
This commit is contained in:
@@ -78,7 +78,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"from computer import Computer\n",
|
||||
"from agent import ComputerAgent, LLM, AgentLoop, LLMProvider"
|
||||
"from agent import ComputerAgent"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -129,7 +129,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"agent = ComputerAgent(\n",
|
||||
" computer=[computer],\n",
|
||||
" tools=[computer],\n",
|
||||
" model=\"openai/computer-use-preview\",\n",
|
||||
" save_trajectory=True,\n",
|
||||
" only_n_most_recent_images=3,\n",
|
||||
@@ -170,7 +170,7 @@
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.11.11"
|
||||
"version": "3.12.11"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
|
||||
Reference in New Issue
Block a user