File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import { generateText } from 'ai'
1212
1313const anthropic = createAnthropic ( )
1414
15- const DEFAULT_MODEL = 'claude-sonnet-4-20250514 '
15+ const DEFAULT_MODEL = 'claude-sonnet-4-6-20250415 '
1616
1717/**
1818 * Generate a task prompt from a commit diff using the LLM API directly.
@@ -26,8 +26,6 @@ export async function generatePrompt(
2626 model : anthropic ( DEFAULT_MODEL ) ,
2727 system : systemPrompt ,
2828 prompt : userPrompt ,
29- maxOutputTokens : 500 ,
30- temperature : 0.3 ,
3129 } )
3230
3331 return result . text . trim ( )
@@ -45,8 +43,6 @@ export async function analyzeFailureViaApi(
4543 const result = await generateText ( {
4644 model : anthropic ( DEFAULT_MODEL ) ,
4745 prompt,
48- maxOutputTokens : 4096 ,
49- temperature : 0.2 ,
5046 } )
5147
5248 return result . text . trim ( )
You can’t perform that action at this time.
0 commit comments