From 8ab8987776b9677e2b44200c4a17a3b29e6d1644 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 31 Jul 2026 18:59:15 +0800 Subject: [PATCH] chore: remove debug traces from upload_file.dspy --- wwwroot/knowledge_bases_list/upload_file.dspy | 5 ----- 1 file changed, 5 deletions(-) diff --git a/wwwroot/knowledge_bases_list/upload_file.dspy b/wwwroot/knowledge_bases_list/upload_file.dspy index 69ad13a..2a1b087 100644 --- a/wwwroot/knowledge_bases_list/upload_file.dspy +++ b/wwwroot/knowledge_bases_list/upload_file.dspy @@ -30,11 +30,6 @@ ext_l = ext.lower() # ============================================================ async def ingest_doc(doc_id, kb_id, file_name, ext_l, real_path): db = DBPools() - # TRACE - try: - with open('/tmp/_t2_' + doc_id, 'w') as df: - df.write('db ok, reading file: ' + real_path) - except: pass text = '' chunks_n = 0 face_count = 0