Skip to content

Commit 920a587

Browse files
committed
🤖 feat: upgrade Claude Opus to 4-5
1 parent 7ba4d15 commit 920a587

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

mobile/app/workspace-settings.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const THINKING_LEVELS: ThinkingLevel[] = ["off", "low", "medium", "high"];
1818
const AVAILABLE_MODELS = [
1919
{ label: "Claude Sonnet 4.5", value: "anthropic:claude-sonnet-4-5" },
2020
{ label: "Claude Haiku 4.5", value: "anthropic:claude-haiku-4-5" },
21-
{ label: "Claude Opus 4.1", value: "anthropic:claude-opus-4-1" },
21+
{ label: "Claude Opus 4.5", value: "anthropic:claude-opus-4-5" },
2222
{ label: "GPT-5", value: "openai:gpt-5" },
2323
{ label: "GPT-5 Pro", value: "openai:gpt-5-pro" },
2424
{ label: "GPT-5 Codex", value: "openai:gpt-5-codex" },

src/common/constants/knownModels.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const MODEL_DEFINITIONS = {
4343
},
4444
OPUS: {
4545
provider: "anthropic",
46-
providerModelId: "claude-opus-4-1",
46+
providerModelId: "claude-opus-4-5",
4747
aliases: ["opus"],
4848
},
4949
GPT: {

src/node/services/mock/scenarios/slashCommands.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,26 +65,26 @@ const modelStatusTurn: ScenarioTurn = {
6565
kind: "stream-start",
6666
delay: 0,
6767
messageId: "msg-slash-model-status",
68-
model: "anthropic:claude-opus-4-1",
68+
model: "anthropic:claude-opus-4-5",
6969
},
7070
{
7171
kind: "stream-delta",
7272
delay: STREAM_BASE_DELAY,
73-
text: "Claude Opus 4.1 is now responding with enhanced reasoning capacity.",
73+
text: "Claude Opus 4.5 is now responding with enhanced reasoning capacity.",
7474
},
7575
{
7676
kind: "stream-end",
7777
delay: STREAM_BASE_DELAY * 2,
7878
metadata: {
79-
model: "anthropic:claude-opus-4-1",
79+
model: "anthropic:claude-opus-4-5",
8080
inputTokens: 70,
8181
outputTokens: 54,
8282
systemMessageTokens: 12,
8383
},
8484
parts: [
8585
{
8686
type: "text",
87-
text: "I'm responding as Claude Opus 4.1, which you selected via /model opus. Let me know how to proceed.",
87+
text: "I'm responding as Claude Opus 4.5, which you selected via /model opus. Let me know how to proceed.",
8888
},
8989
],
9090
},

tests/e2e/scenarios/slashCommands.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,17 +109,17 @@ test.describe("slash command flows", () => {
109109
).toBeVisible();
110110

111111
await ui.chat.sendMessage("/model opus");
112-
await ui.chat.expectStatusMessageContains("Model changed to anthropic:claude-opus-4-1");
113-
await expect(modeToggles.getByText("anthropic:claude-opus-4-1", { exact: true })).toBeVisible();
112+
await ui.chat.expectStatusMessageContains("Model changed to anthropic:claude-opus-4-5");
113+
await expect(modeToggles.getByText("anthropic:claude-opus-4-5", { exact: true })).toBeVisible();
114114

115115
const timeline = await ui.chat.captureStreamTimeline(async () => {
116116
await ui.chat.sendMessage(SLASH_COMMAND_PROMPTS.MODEL_STATUS);
117117
});
118118

119119
const streamStart = timeline.events.find((event) => event.type === "stream-start");
120-
expect(streamStart?.model).toBe("anthropic:claude-opus-4-1");
120+
expect(streamStart?.model).toBe("anthropic:claude-opus-4-5");
121121
await ui.chat.expectTranscriptContains(
122-
"Claude Opus 4.1 is now responding with enhanced reasoning capacity."
122+
"Claude Opus 4.5 is now responding with enhanced reasoning capacity."
123123
);
124124
});
125125

0 commit comments

Comments
 (0)