Skip to content

Commit 69289b9

Browse files
authored
add support for claude 4.5 opus in cua agent (#241)
* add support for claude 4.5 opus in cua agent * changeset
1 parent f1ae498 commit 69289b9

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.changeset/vague-steel-chamois.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"stagehand": patch
3+
---
4+
5+
add support for claude 4.5 opus in cua agent

stagehand/agent/agent.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"claude-haiku-4-5-20251001": AnthropicCUAClient,
2424
"claude-sonnet-4-20250514": AnthropicCUAClient,
2525
"claude-sonnet-4-5-20250929": AnthropicCUAClient,
26+
"claude-opus-4-5-20251101": AnthropicCUAClient,
2627
"gemini-2.5-computer-use-preview-10-2025": GoogleCUAClient,
2728
}
2829
MODEL_TO_PROVIDER_MAP: dict[str, AgentProvider] = {
@@ -32,6 +33,7 @@
3233
"claude-haiku-4-5-20251001": AgentProvider.ANTHROPIC,
3334
"claude-sonnet-4-20250514": AgentProvider.ANTHROPIC,
3435
"claude-sonnet-4-5-20250929": AgentProvider.ANTHROPIC,
36+
"claude-opus-4-5-20251101": AgentProvider.ANTHROPIC,
3537
"gemini-2.5-computer-use-preview-10-2025": AgentProvider.GOOGLE,
3638
# Add more mappings as needed
3739
}

0 commit comments

Comments
 (0)