移除多个文件中的调试日志输出,优化代码可读性和性能。

This commit is contained in:
duanfuxiang
2025-07-05 16:29:41 +08:00
parent a2fcb7c20f
commit 54a14dedd6
7 changed files with 3 additions and 9 deletions

View File

@@ -30,7 +30,6 @@ export class InsightRepository {
const result = await this.db.query<SelectSourceInsight>(
`SELECT * FROM "${tableName}" ORDER BY created_at DESC`
)
console.log(result.rows)
return result.rows
}

View File

@@ -156,7 +156,6 @@ export class VectorManager {
// 保存原始内容,不在此处调用 removeMarkdown
const rawContent = chunk.pageContent.replace(/\0/g, '')
if (!rawContent || rawContent.trim().length === 0) {
console.log("skipped chunk", chunk.pageContent)
return null
}
return {