Skip to content

Commit 1e44bb0

Browse files
authored
Change current Opus model to 4.8 (#3571)
1 parent 99f73f7 commit 1e44bb0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

apps/web/src/lib/ai-gateway/providers/anthropic.constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import type {
55
} from '@/lib/ai-gateway/providers/kilo-exclusive-model';
66

77
export const CLAUDE_SONNET_CURRENT_MODEL_ID = 'anthropic/claude-sonnet-4.6';
8-
export const CLAUDE_OPUS_CURRENT_MODEL_ID = 'anthropic/claude-opus-4.7';
8+
export const CLAUDE_OPUS_CURRENT_MODEL_ID = 'anthropic/claude-opus-4.8';
99
export const CLAUDE_HAIKU_CURRENT_MODEL_ID = 'anthropic/claude-haiku-4.5';
1010
export const CLAUDE_OPUS_STEALTH_MODEL_ID = 'stealth/claude-opus-4.7';
1111
export const CLAUDE_SONNET_STEALTH_MODEL_ID = 'stealth/claude-sonnet-4.6';

apps/web/src/lib/ai-gateway/providers/model-settings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export const REASONING_VARIANTS_NONE_LOW_MEDIUM_HIGH = {
3535
} as const;
3636

3737
export function getModelVariants(model: string): OpenCodeSettings['variants'] {
38-
if (isOpusModel(model) && model.includes('4.7')) {
38+
if (isOpusModel(model) && (model.includes('4.7') || model.includes('4.8'))) {
3939
return {
4040
none: { reasoning: { enabled: false, effort: 'none' } },
4141
low: { reasoning: { enabled: true, effort: 'low' }, verbosity: 'low' },

0 commit comments

Comments
 (0)