feat: PG-очередь — classify_status='processing' для crash recovery
This commit is contained in:
@@ -116,6 +116,7 @@ def classify_batch(batch_id):
|
||||
return True
|
||||
|
||||
# Stage 3: LLM classification (only for remaining)
|
||||
db_docs.set_classify_processing(doc["id"]) # crash recovery marker
|
||||
result, raw, needed_fix = _call_llm_classify(text)
|
||||
json_total += 1
|
||||
if needed_fix:
|
||||
|
||||
Reference in New Issue
Block a user