Skip to content

Commit 6a7de4c

Browse files
jahoomaclaude
andcommitted
evalbuff: use sonnet 4.6, remove maxOutputTokens and temperature
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent a845783 commit 6a7de4c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

evalbuff/src/llm.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { generateText } from 'ai'
1212

1313
const 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()

0 commit comments

Comments
 (0)