add mode config, fix app params

This commit is contained in:
duanfuxiang
2025-04-28 23:12:59 +08:00
parent f282c9f667
commit 7791baabaa
4 changed files with 9 additions and 1 deletions

View File

@@ -252,7 +252,7 @@ export class PromptGenerator {
// Add current mode details
const currentMode = this.settings.mode
const modeDetails = await getFullModeDetails(currentMode)
const modeDetails = await getFullModeDetails(this.app, currentMode, this.customModeList, this.customModePrompts)
details += `\n\n# Current Mode\n`
details += `<slug>${currentMode}</slug>\n`
details += `<name>${modeDetails.name}</name>\n`