chore: update claude-opus-4-5 references to claude-opus-4-6 (excludes antigravity models)

This commit is contained in:
YeonGyu-Kim
2026-02-06 14:21:15 +09:00
parent 4c7215404e
commit 1f64920453
37 changed files with 296 additions and 296 deletions
+12 -12
View File
@@ -63,7 +63,7 @@ beforeEach(() => {
spyOn(mcpModule, "createBuiltinMcps" as any).mockReturnValue({})
spyOn(shared, "log" as any).mockImplementation(() => {})
spyOn(shared, "fetchAvailableModels" as any).mockResolvedValue(new Set(["anthropic/claude-opus-4-5"]))
spyOn(shared, "fetchAvailableModels" as any).mockResolvedValue(new Set(["anthropic/claude-opus-4-6"]))
spyOn(shared, "readConnectedProvidersCache" as any).mockReturnValue(null)
spyOn(configDir, "getOpenCodeConfigPaths" as any).mockReturnValue({
@@ -73,7 +73,7 @@ beforeEach(() => {
spyOn(permissionCompat, "migrateAgentConfig" as any).mockImplementation((config: Record<string, unknown>) => config)
spyOn(modelResolver, "resolveModelWithFallback" as any).mockReturnValue({ model: "anthropic/claude-opus-4-5" })
spyOn(modelResolver, "resolveModelWithFallback" as any).mockReturnValue({ model: "anthropic/claude-opus-4-6" })
})
afterEach(() => {
@@ -123,7 +123,7 @@ describe("Plan agent demote behavior", () => {
},
}
const config: Record<string, unknown> = {
model: "anthropic/claude-opus-4-5",
model: "anthropic/claude-opus-4-6",
agent: {},
}
const handler = createConfigHandler({
@@ -154,7 +154,7 @@ describe("Plan agent demote behavior", () => {
},
}
const config: Record<string, unknown> = {
model: "anthropic/claude-opus-4-5",
model: "anthropic/claude-opus-4-6",
agent: {
plan: {
name: "plan",
@@ -191,7 +191,7 @@ describe("Plan agent demote behavior", () => {
},
}
const config: Record<string, unknown> = {
model: "anthropic/claude-opus-4-5",
model: "anthropic/claude-opus-4-6",
agent: {
plan: {
name: "plan",
@@ -228,7 +228,7 @@ describe("Plan agent demote behavior", () => {
},
}
const config: Record<string, unknown> = {
model: "anthropic/claude-opus-4-5",
model: "anthropic/claude-opus-4-6",
agent: {},
}
const handler = createConfigHandler({
@@ -263,7 +263,7 @@ describe("Agent permission defaults", () => {
})
const pluginConfig: OhMyOpenCodeConfig = {}
const config: Record<string, unknown> = {
model: "anthropic/claude-opus-4-5",
model: "anthropic/claude-opus-4-6",
agent: {},
}
const handler = createConfigHandler({
@@ -406,7 +406,7 @@ describe("Prometheus direct override priority over category", () => {
},
}
const config: Record<string, unknown> = {
model: "anthropic/claude-opus-4-5",
model: "anthropic/claude-opus-4-6",
agent: {},
}
const handler = createConfigHandler({
@@ -446,7 +446,7 @@ describe("Prometheus direct override priority over category", () => {
},
}
const config: Record<string, unknown> = {
model: "anthropic/claude-opus-4-5",
model: "anthropic/claude-opus-4-6",
agent: {},
}
const handler = createConfigHandler({
@@ -487,7 +487,7 @@ describe("Prometheus direct override priority over category", () => {
},
}
const config: Record<string, unknown> = {
model: "anthropic/claude-opus-4-5",
model: "anthropic/claude-opus-4-6",
agent: {},
}
const handler = createConfigHandler({
@@ -522,7 +522,7 @@ describe("Prometheus direct override priority over category", () => {
},
}
const config: Record<string, unknown> = {
model: "anthropic/claude-opus-4-5",
model: "anthropic/claude-opus-4-6",
agent: {},
}
const handler = createConfigHandler({
@@ -560,7 +560,7 @@ describe("Deadlock prevention - fetchAvailableModels must not receive client", (
},
}
const config: Record<string, unknown> = {
model: "anthropic/claude-opus-4-5",
model: "anthropic/claude-opus-4-6",
agent: {},
}
const mockClient = {