mirror of
https://github.com/trycua/computer.git
synced 2026-02-28 02:50:17 -06:00
Upgrade Claude 3.5 snapshot to a version with computer use support
This commit is contained in:
@@ -34,7 +34,7 @@ You can then use this as a tool for your agent:
|
||||
from agent import ComputerAgent
|
||||
|
||||
agent = ComputerAgent(
|
||||
model="anthropic/claude-3-5-sonnet-20240620",
|
||||
model="anthropic/claude-3-5-sonnet-20241022",
|
||||
tools=[custom_computer],
|
||||
)
|
||||
|
||||
@@ -122,7 +122,7 @@ class MyCustomComputer(AsyncComputerHandler):
|
||||
custom_computer = MyCustomComputer()
|
||||
|
||||
agent = ComputerAgent(
|
||||
model="anthropic/claude-3-5-sonnet-20240620",
|
||||
model="anthropic/claude-3-5-sonnet-20241022",
|
||||
tools=[custom_computer],
|
||||
)
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ With the OpenAI provider, prompt caching is handled automatically for prompts of
|
||||
```python
|
||||
from agent import ComputerAgent
|
||||
agent = ComputerAgent(
|
||||
model="anthropic/claude-3-5-sonnet-20240620",
|
||||
model="anthropic/claude-3-5-sonnet-20241022",
|
||||
use_prompt_caching=True,
|
||||
)
|
||||
```
|
||||
|
||||
@@ -25,7 +25,7 @@ from computer import Computer
|
||||
|
||||
computer = Computer(...)
|
||||
agent = ComputerAgent(
|
||||
model="anthropic/claude-3-5-sonnet-20240620",
|
||||
model="anthropic/claude-3-5-sonnet-20241022",
|
||||
tools=[computer, read_file],
|
||||
)
|
||||
```
|
||||
|
||||
@@ -16,7 +16,7 @@ Claude models with computer-use capabilities:
|
||||
- Claude 4.1: `claude-opus-4-1-20250805`
|
||||
- Claude 4: `claude-opus-4-20250514`, `claude-sonnet-4-20250514`
|
||||
- Claude 3.7: `claude-3-7-sonnet-20250219`
|
||||
- Claude 3.5: `claude-3-5-sonnet-20240620`
|
||||
- Claude 3.5: `claude-3-5-sonnet-20241022`
|
||||
|
||||
```python
|
||||
agent = ComputerAgent("claude-3-5-sonnet-20241022", tools=[computer])
|
||||
|
||||
@@ -16,7 +16,7 @@ All models that support `ComputerAgent.run()` also support `ComputerAgent.predic
|
||||
- Claude 4.1: `claude-opus-4-1-20250805`
|
||||
- Claude 4: `claude-opus-4-20250514`, `claude-sonnet-4-20250514`
|
||||
- Claude 3.7: `claude-3-7-sonnet-20250219`
|
||||
- Claude 3.5: `claude-3-5-sonnet-20240620`
|
||||
- Claude 3.5: `claude-3-5-sonnet-20241022`
|
||||
|
||||
### OpenAI CUA Preview
|
||||
- Computer-use-preview: `computer-use-preview`
|
||||
|
||||
Reference in New Issue
Block a user