Skip to content

Commit ba3858c

Browse files
ralyodioclaude
andcommitted
fix(audit): swap Perplexity sonar-pro → sonar-reasoning-pro
sonar-pro's 8K output cap can't fit the full AEO audit JSON. Switch to sonar-reasoning-pro, which has a higher output capacity and is the right tier for a structured analytical task. The 32K max_tokens from the previous commit now has actual headroom to use. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 28a523e commit ba3858c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/audit/perplexity-engine.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export async function perplexityAudit(targetUrl: string): Promise<ClaudeAuditRes
99
return oaCompatAudit(targetUrl, {
1010
apiKey: env.perplexityApiKey,
1111
baseURL: "https://api.perplexity.ai",
12-
model: "sonar-pro",
12+
model: "sonar-reasoning-pro",
1313
providerLabel: "Perplexity",
1414
maxOutputTokens: 32_000,
1515
responseFormat: aeoAuditResponseFormat(),

0 commit comments

Comments
 (0)