Skip to content

Commit 81f2618

Browse files
committed
fix(node): default image describe to sonnet 4.6
1 parent a490ab9 commit 81f2618

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

packages/node/src/alphalib/types/robots/ai-chat.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ export const meta: RobotMetaInput = {
148148
export const MODEL_CAPABILITIES: Record<string, { pdf: boolean; image: boolean }> = {
149149
'anthropic/claude-4-sonnet-20250514': { pdf: true, image: true },
150150
'anthropic/claude-4-opus-20250514': { pdf: true, image: true },
151+
'anthropic/claude-sonnet-4-6': { pdf: true, image: true },
151152
'anthropic/claude-sonnet-4-5': { pdf: true, image: true },
152153
'anthropic/claude-opus-4-5': { pdf: true, image: true },
153154
'anthropic/claude-opus-4-6': { pdf: true, image: true },

packages/node/src/cli/semanticIntents/imageDescribe.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const wordpressDescribeFields = [
1414
'description',
1515
] as const satisfies readonly ImageDescribeField[]
1616

17-
const defaultDescribeModel = 'anthropic/claude-4-sonnet-20250514'
17+
const defaultDescribeModel = 'anthropic/claude-sonnet-4-6'
1818

1919
export const imageDescribeExecutionDefinition = {
2020
kind: 'dynamic-step',
@@ -43,8 +43,7 @@ export const imageDescribeExecutionDefinition = {
4343
kind: 'string',
4444
propertyName: 'model',
4545
optionFlags: '--model',
46-
description:
47-
'Model to use for generated text fields (default: anthropic/claude-4-sonnet-20250514)',
46+
description: 'Model to use for generated text fields (default: anthropic/claude-sonnet-4-6)',
4847
required: false,
4948
},
5049
] as const satisfies readonly IntentOptionDefinition[],

packages/node/test/unit/cli/intents.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ describe('intent commands', () => {
147147
robot: '/ai/chat',
148148
use: ':original',
149149
result: true,
150-
model: 'anthropic/claude-4-sonnet-20250514',
150+
model: 'anthropic/claude-sonnet-4-6',
151151
format: 'json',
152152
return_messages: 'last',
153153
test_credentials: true,

0 commit comments

Comments
 (0)