Skip to content

Commit

Permalink
fix: model check for diff mode
Browse files Browse the repository at this point in the history
  • Loading branch information
gmickel committed Aug 6, 2024
1 parent 98519c0 commit d64ce8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ai/task-workflow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export async function runAIAssistedTask(options: AiAssistedTaskOptions) {

const modelKey = await selectModel(options);

if (options.diff && modelKey !== 'claude-3-sonnet-20240229') {
if (options.diff && modelKey !== 'claude-3-5-sonnet-20240620') {
console.log(
chalk.yellow(
'Diff-based code modifications are currently only supported with Claude 3.5 Sonnet. Falling back to full-file code modifications.',
Expand Down

0 comments on commit d64ce8c

Please sign in to comment.