add system preview

This commit is contained in:
duanfuxiang
2025-04-29 11:25:44 +08:00
parent 7791baabaa
commit d1b81dd703
8 changed files with 227 additions and 7 deletions

View File

@@ -472,7 +472,7 @@ export class PromptGenerator {
}
}
private async getSystemMessageNew(mode: Mode, filesSearchMethod: string, preferredLanguage: string): Promise<RequestMessage> {
public async getSystemMessageNew(mode: Mode, filesSearchMethod: string, preferredLanguage: string): Promise<RequestMessage> {
const prompt = await this.systemPrompt.getSystemPrompt(
this.app.vault.getRoot().path,
false,