Przeglądaj źródła

feat(cli): update default model from Opus 4.5 to Opus 4.6 (#11273)

Co-authored-by: Roo Code <[email protected]>
roomote[bot] 2 miesięcy temu
rodzic
commit
06b25185e2

+ 1 - 1
apps/cli/README.md

@@ -158,7 +158,7 @@ Tokens are valid for 90 days. The CLI will prompt you to re-authenticate when yo
 | `-y, --yes, --dangerously-skip-permissions` | Auto-approve all actions (use with caution)                                             | `false`                                  |
 | `-k, --api-key <key>`                       | API key for the LLM provider                                                            | From env var                             |
 | `--provider <provider>`                     | API provider (roo, anthropic, openai, openrouter, etc.)                                 | `openrouter` (or `roo` if authenticated) |
-| `-m, --model <model>`                       | Model to use                                                                            | `anthropic/claude-opus-4.5`              |
+| `-m, --model <model>`                       | Model to use                                                                            | `anthropic/claude-opus-4.6`              |
 | `--mode <mode>`                             | Mode to start in (code, architect, ask, debug, etc.)                                    | `code`                                   |
 | `-r, --reasoning-effort <effort>`           | Reasoning effort level (unspecified, disabled, none, minimal, low, medium, high, xhigh) | `medium`                                 |
 | `--ephemeral`                               | Run without persisting state (uses temporary storage)                                   | `false`                                  |

+ 2 - 2
apps/cli/src/lib/storage/__tests__/settings.test.ts

@@ -103,7 +103,7 @@ describe("Settings Storage", () => {
 			await saveSettings({
 				mode: "architect",
 				provider: "anthropic" as const,
-				model: "claude-opus-4.5",
+				model: "claude-opus-4.6",
 				reasoningEffort: "medium" as const,
 			})
 
@@ -112,7 +112,7 @@ describe("Settings Storage", () => {
 
 			expect(settings.mode).toBe("architect")
 			expect(settings.provider).toBe("anthropic")
-			expect(settings.model).toBe("claude-opus-4.5")
+			expect(settings.model).toBe("claude-opus-4.6")
 			expect(settings.reasoningEffort).toBe("medium")
 		})
 

+ 1 - 1
apps/cli/src/types/constants.ts

@@ -3,7 +3,7 @@ import { reasoningEffortsExtended } from "@roo-code/types"
 export const DEFAULT_FLAGS = {
 	mode: "code",
 	reasoningEffort: "medium" as const,
-	model: "anthropic/claude-opus-4.5",
+	model: "anthropic/claude-opus-4.6",
 }
 
 export const REASONING_EFFORTS = [...reasoningEffortsExtended, "unspecified", "disabled"]