feat: add Claude Opus 4.7 to built-in models (#2072)

Co-authored-by: Julius Marminge <[email protected]>
This commit is contained in:
Ibrahim ElkamaliandJulius Marminge authored and GitHub committed 2026-04-16 11:11:59 -07:00
1 parent d22c6f5280
commit 3e07f5a6a4
14 files changed
+520 -173

No files matched your search

+2 -2
View File
@@ -1,7 +1,7 @@
import {
DEFAULT_MODEL_BY_PROVIDER,
MODEL_SLUG_ALIASES_BY_PROVIDER,
type ClaudeCodeEffort,
type ClaudeAgentEffort,
type ClaudeModelOptions,
type CodexModelOptions,
type ModelCapabilities,
@@ -225,7 +225,7 @@ export function resolveApiModelId(modelSelection: ModelSelection): string {
export function applyClaudePromptEffortPrefix(
text: string,
effort: ClaudeCodeEffort | null | undefined,
effort: ClaudeAgentEffort | null | undefined,
): string {
const trimmed = text.trim();
if (!trimmed) {