fix: more regression bugs

This commit is contained in:
Ralph Khreish
2025-07-11 07:25:29 +03:00
parent 3e61d26235
commit 8e9d00e03d
6 changed files with 62 additions and 23 deletions

View File

@@ -205,12 +205,10 @@ async function performResearch(
}
};
// Select variant based on detail level
const variantKey = detailLevel; // 'low', 'medium', or 'high'
// Load prompts - the research template handles detail level internally
const { systemPrompt, userPrompt } = await promptManager.loadPrompt(
'research',
promptParams,
variantKey
promptParams
);
// Count tokens for system and user prompts