refactor: remove debug print statements (#12598)

### What problem does this PR solve?

This PR eliminates unnecessary debug print statements that were left in
hot paths of the codebase.

### Type of change

- [x] Refactoring
This commit is contained in:
lys1313013
2026-01-14 10:05:34 +08:00
committed by GitHub
parent ea619dba3b
commit f72a35188d
4 changed files with 11 additions and 13 deletions

View File

@ -121,13 +121,6 @@ class TaskService(CommonService):
.where(cls.model.id == task_id)
)
docs = list(docs.dicts())
# Assuming docs = list(docs.dicts())
if docs:
kb_config = docs[0]['kb_parser_config'] # Dict from Knowledgebase.parser_config
mineru_method = kb_config.get('mineru_parse_method', 'auto')
mineru_formula = kb_config.get('mineru_formula_enable', True)
mineru_table = kb_config.get('mineru_table_enable', True)
print(mineru_method, mineru_formula, mineru_table)
if not docs:
return None