fix: paragraph-level docx replace, LLM-NER, НУБЕС whitelist, COMPANY_PATTERN limit — v0.6/v1.0.189
Deploy contracts-flask / validate (push) Successful in 0s

This commit is contained in:
2026-06-29 16:32:35 +04:00
parent a2a094969b
commit 7c40c178fe
5 changed files with 65 additions and 23 deletions
+3 -1
View File
@@ -133,7 +133,9 @@ def api_drhider():
def _process():
try:
zip_data, _csv = obfuscate_files(files)
from services.llm_client import HttpxLLMClient
llm = HttpxLLMClient(LLM_URL, LLM_KEY, LLM_MODEL) if LLM_KEY else None
zip_data, _csv = obfuscate_files(files, llm_client=llm)
with _drhider_lock:
_drhider_jobs[job_id] = {"done": True, "data": zip_data, "error": None}
except Exception as e: