From cf0ff380bd2a1f9b40933c9759ae94a3205cd305 Mon Sep 17 00:00:00 2001 From: Kylejeong2 Date: Thu, 5 Feb 2026 10:33:20 -0800 Subject: [PATCH] feat: adding Opus 4.6 to model list for computer use --- packages/core/lib/v3/agent/AgentProvider.ts | 1 + packages/core/lib/v3/types/public/agent.ts | 1 + packages/core/tests/public-api/llm-and-agents.test.ts | 1 + 3 files changed, 3 insertions(+) diff --git a/packages/core/lib/v3/agent/AgentProvider.ts b/packages/core/lib/v3/agent/AgentProvider.ts index 2cb9872e6..94b74f0fb 100644 --- a/packages/core/lib/v3/agent/AgentProvider.ts +++ b/packages/core/lib/v3/agent/AgentProvider.ts @@ -20,6 +20,7 @@ export const modelToAgentProviderMap: Record = { "claude-sonnet-4-20250514": "anthropic", "claude-sonnet-4-5-20250929": "anthropic", "claude-opus-4-5-20251101": "anthropic", + "claude-opus-4-6": "anthropic", "claude-haiku-4-5-20251001": "anthropic", "gemini-2.5-computer-use-preview-10-2025": "google", "gemini-3-flash-preview": "google", diff --git a/packages/core/lib/v3/types/public/agent.ts b/packages/core/lib/v3/types/public/agent.ts index 185bb5a43..c2676c4ff 100644 --- a/packages/core/lib/v3/types/public/agent.ts +++ b/packages/core/lib/v3/types/public/agent.ts @@ -371,6 +371,7 @@ export const AVAILABLE_CUA_MODELS = [ "openai/computer-use-preview-2025-03-11", "anthropic/claude-3-7-sonnet-latest", "anthropic/claude-opus-4-5-20251101", + "anthropic/claude-opus-4-6", "anthropic/claude-haiku-4-5-20251001", "anthropic/claude-sonnet-4-20250514", "anthropic/claude-sonnet-4-5-20250929", diff --git a/packages/core/tests/public-api/llm-and-agents.test.ts b/packages/core/tests/public-api/llm-and-agents.test.ts index 7cf37bf2f..62b00d9a2 100644 --- a/packages/core/tests/public-api/llm-and-agents.test.ts +++ b/packages/core/tests/public-api/llm-and-agents.test.ts @@ -26,6 +26,7 @@ describe("LLM and Agents public API types", () => { "openai/computer-use-preview-2025-03-11", "anthropic/claude-3-7-sonnet-latest", "anthropic/claude-opus-4-5-20251101", + "anthropic/claude-opus-4-6", "anthropic/claude-haiku-4-5-20251001", "anthropic/claude-sonnet-4-20250514", "anthropic/claude-sonnet-4-5-20250929",