feat: add Claude Opus 4.7 to built-in models (#2072)
Co-authored-by: Julius Marminge <[email protected]>
This commit is contained in:
1 parent
d22c6f5280
commit
3e07f5a6a4
14 files changed
+520
-173
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user