Merge remote-tracking branch 'origin/master'

This commit is contained in:
duanfuxiang
2025-06-11 15:05:43 +08:00
25 changed files with 626 additions and 95 deletions

View File

@@ -209,7 +209,7 @@ export class PromptGenerator {
},
]
let filesSearchMethod = this.settings.filesSearchMethod
let filesSearchMethod = this.settings.filesSearchSettings.method
if (filesSearchMethod === 'auto' && this.settings.embeddingModelId && this.settings.embeddingModelId !== '') {
filesSearchMethod = 'semantic'
}
@@ -755,6 +755,7 @@ export class PromptGenerator {
this.app.vault.getRoot().path,
false,
mode,
this.settings.filesSearchSettings,
filesSearchMethod,
preferredLanguage,
this.diffStrategy,