chore: remove debug traces from upload_file.dspy

This commit is contained in:
yumoqing 2026-07-31 18:59:15 +08:00
parent 5bf3ef3822
commit 8ab8987776

View File

@ -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