delete non need logs

This commit is contained in:
duanfuxiang
2025-04-29 19:48:58 +08:00
parent 67dc9af73d
commit c31f5fbe19
4 changed files with 0 additions and 7 deletions

View File

@@ -44,7 +44,6 @@ export class SystemPrompt {
}
private async ensureDirectory(): Promise<void> {
console.log("this.app, ", this.app)
if (!(await this.app.vault.adapter.exists(this.dataDir))) {
await this.app.vault.adapter.mkdir(this.dataDir)
}
@@ -58,7 +57,6 @@ export class SystemPrompt {
private async loadSystemPromptFile(mode: Mode): Promise<string> {
const fileName = this.getSystemPromptFilePath(mode)
const filePath = normalizePath(path.join(this.dataDir, fileName))
console.log("filePath", filePath)
if (!(await this.app.vault.adapter.exists(filePath))) {
return ""
}