diff --git a/packages/core/lib/v3/agent/AgentProvider.ts b/packages/core/lib/v3/agent/AgentProvider.ts index b9bdfdd53..736eb2fb1 100644 --- a/packages/core/lib/v3/agent/AgentProvider.ts +++ b/packages/core/lib/v3/agent/AgentProvider.ts @@ -15,6 +15,8 @@ import { MicrosoftCUAClient } from "./MicrosoftCUAClient.js"; // Map model names to their provider types export const modelToAgentProviderMap: Record = { "gpt-5.4": "openai", + "gpt-5.4-mini": "openai", + "gpt-5.5": "openai", "computer-use-preview": "openai", "computer-use-preview-2025-03-11": "openai", "claude-sonnet-4-20250514": "anthropic", @@ -22,6 +24,7 @@ export const modelToAgentProviderMap: Record = { "claude-opus-4-5-20251101": "anthropic", "claude-opus-4-6": "anthropic", "claude-sonnet-4-6": "anthropic", + "claude-haiku-4-5": "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 52ea87948..7b2ed8e07 100644 --- a/packages/core/lib/v3/types/public/agent.ts +++ b/packages/core/lib/v3/types/public/agent.ts @@ -450,11 +450,14 @@ export type AgentType = export const AVAILABLE_CUA_MODELS = [ "openai/gpt-5.4", + "openai/gpt-5.4-mini", + "openai/gpt-5.5", "openai/computer-use-preview", "openai/computer-use-preview-2025-03-11", "anthropic/claude-opus-4-5-20251101", "anthropic/claude-opus-4-6", "anthropic/claude-sonnet-4-6", + "anthropic/claude-haiku-4-5", "anthropic/claude-haiku-4-5-20251001", "anthropic/claude-sonnet-4-20250514", "anthropic/claude-sonnet-4-5-20250929", diff --git a/packages/core/tests/unit/public-api/llm-and-agents.test.ts b/packages/core/tests/unit/public-api/llm-and-agents.test.ts index baf5f3665..e7b0b6ca0 100644 --- a/packages/core/tests/unit/public-api/llm-and-agents.test.ts +++ b/packages/core/tests/unit/public-api/llm-and-agents.test.ts @@ -40,9 +40,12 @@ describe("LLM and Agents public API types", () => { "openai/computer-use-preview", "openai/computer-use-preview-2025-03-11", "openai/gpt-5.4", + "openai/gpt-5.4-mini", + "openai/gpt-5.5", "anthropic/claude-opus-4-5-20251101", "anthropic/claude-opus-4-6", "anthropic/claude-sonnet-4-6", + "anthropic/claude-haiku-4-5", "anthropic/claude-haiku-4-5-20251001", "anthropic/claude-sonnet-4-20250514", "anthropic/claude-sonnet-4-5-20250929",