You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Use only the provider evidence below. For Exa citations, copy providerResultId and URL exactly. For Firecrawl citations, copy the URL exactly.",
303
306
"Set providerResultId to an empty string for every Firecrawl citation.",
304
-
"Return 4-6 distinct, synthesis-ready claims, no more than 3 sources per claim, and a concise summary. Prioritize the strongest guidance instead of exhaustively restating the evidence.",
307
+
"Return 3-4 distinct, synthesis-ready claims. Keep each claim under 450 characters, use no more than 2 sources per claim, and keep the summary under 700 characters.",
308
+
"Prioritize the strongest guidance instead of exhaustively restating the evidence.",
305
309
"Do not cite sourceId directly and do not add sources that are absent from this evidence pack.",
306
310
"",
307
311
JSON.stringify(evidence,null,2),
@@ -315,7 +319,7 @@ function researchSynthesisPrompt(
315
319
return[
316
320
config.synthesisPrompt(findings),
317
321
"Consolidate overlapping evidence into at most 16 distinct claims with no more than 4 source IDs per claim.",
318
-
"Keep the report focused and complete within 2,000 words while retaining actionable findings and citations.",
322
+
"Keep the report focused and complete within 1,200 words while retaining actionable findings and citations.",
319
323
"Write report as polished GitHub-flavored Markdown for direct display and PDF rendering. Preserve a clear heading hierarchy, lists, and comparison tables where useful.",
320
324
"Cite factual claims with descriptive Markdown links to the exact source URLs in the findings, and finish with a Sources heading containing only sources used in the report.",
321
325
].join("\n");
@@ -381,8 +385,19 @@ function isRetriableModelError(error: unknown): boolean {
0 commit comments