fix new note name with markdown title like '####'

This commit is contained in:
duanfuxiang
2025-04-08 14:05:51 +08:00
parent 108a86d6c4
commit 5118b3e3a7
2 changed files with 6 additions and 3 deletions

View File

@@ -172,8 +172,6 @@ export class PromptGenerator {
let filesSearchMethod = this.settings.filesSearchMethod
if (filesSearchMethod === 'auto' && this.settings.embeddingModelId && this.settings.embeddingModelId !== '') {
filesSearchMethod = 'semantic'
} else {
filesSearchMethod = 'regex'
}
const userLanguage = getFullLanguageName(getLanguage())