mirror of
https://github.com/EthanMarti/infio-copilot.git
synced 2026-05-08 16:10:09 +00:00
移除多个文件中的调试日志输出,优化代码可读性和性能。
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user