Skip to content

Commit e9ca266

Browse files
alexcarv318miguelg719
authored andcommitted
Just gpt-5.4 instead of gpt-5.4-2026-03-0
1 parent 3595c37 commit e9ca266

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

packages/core/examples/gpt54-cua-example.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ async function main() {
1616
const agent = stagehand.agent({
1717
mode: "cua",
1818
model: {
19-
modelName: "openai/gpt-5.4-2026-03-05",
19+
modelName: "openai/gpt-5.4",
2020
apiKey: process.env.OPENAI_API_KEY,
2121
},
2222
systemPrompt: `You are a helpful assistant that can use a web browser.

packages/core/lib/v3/agent/AgentProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { MicrosoftCUAClient } from "./MicrosoftCUAClient.js";
1414

1515
// Map model names to their provider types
1616
export const modelToAgentProviderMap: Record<string, AgentProviderType> = {
17-
"gpt-5.4-2026-03-05": "openai",
17+
"gpt-5.4": "openai",
1818
"computer-use-preview": "openai",
1919
"computer-use-preview-2025-03-11": "openai",
2020
"claude-sonnet-4-20250514": "anthropic",

packages/core/lib/v3/types/public/agent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ export type AgentType =
449449
| "bedrock";
450450

451451
export const AVAILABLE_CUA_MODELS = [
452-
"openai/gpt-5.4-2026-03-05",
452+
"openai/gpt-5.4",
453453
"openai/computer-use-preview",
454454
"openai/computer-use-preview-2025-03-11",
455455
"anthropic/claude-opus-4-5-20251101",

packages/core/tests/unit/public-api/llm-and-agents.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ describe("LLM and Agents public API types", () => {
3939
const expectedModels = [
4040
"openai/computer-use-preview",
4141
"openai/computer-use-preview-2025-03-11",
42-
"openai/gpt-5.4-2026-03-05",
42+
"openai/gpt-5.4",
4343
"anthropic/claude-opus-4-5-20251101",
4444
"anthropic/claude-opus-4-6",
4545
"anthropic/claude-sonnet-4-6",

0 commit comments

Comments
 (0)