diff --git a/CONTRIBUTORS.yml b/CONTRIBUTORS.yml index c907646fa..8804702e8 100644 --- a/CONTRIBUTORS.yml +++ b/CONTRIBUTORS.yml @@ -97,3 +97,4 @@ - Praise-creator - AdamOwolabi - Isaiah648 +- jnanda97 diff --git a/packages/core/src/infrastructure/ai.ts b/packages/core/src/infrastructure/ai.ts index df5c91d0f..8ac1415c3 100644 --- a/packages/core/src/infrastructure/ai.ts +++ b/packages/core/src/infrastructure/ai.ts @@ -151,9 +151,9 @@ type GetChatCompletionInput = { /** * The model to use for the completion. * - * @default 'claude-sonnet-4-20250514' + * @default 'claude-sonnet-4-6' */ - model?: 'claude-sonnet-4-20250514'; + model?: 'claude-sonnet-4-6'; /** * The system prompt to use for the completion. This can be used to provide @@ -190,7 +190,7 @@ const AnthropicResponse = z.object({ export async function getChatCompletion({ maxTokens, messages, - model = 'claude-sonnet-4-20250514', + model = 'claude-sonnet-4-6', system: _system, temperature = 0.5, }: GetChatCompletionInput): Promise> {