we add research mode prompt

This commit is contained in:
duanfuxiang
2025-03-15 08:16:21 +08:00
parent 18f1d52494
commit 05b1302a6c
9 changed files with 182 additions and 20 deletions

View File

@@ -76,13 +76,24 @@ ${getToolUseGuidelinesSection()}
${mcpServersSection}
${getCapabilitiesSection(cwd, searchTool)}
${getCapabilitiesSection(
mode,
cwd,
searchTool,
)}
${getRulesSection(cwd, searchTool, supportsComputerUse, effectiveDiffStrategy, experiments)}
${getRulesSection(
mode,
cwd,
searchTool,
supportsComputerUse,
effectiveDiffStrategy,
experiments,
)}
${getSystemInfoSection(cwd)}
${getObjectiveSection()}
${getObjectiveSection(mode)}
${await addCustomInstructions(promptComponent?.customInstructions || modeConfig.customInstructions || "", globalCustomInstructions || "", cwd, mode, { preferredLanguage })}`