[PRISM] Add task metrics to LLM endpoint

This commit is contained in:
root committed 2026-11-23 21:58:27 +03:00
1 parent df19f243ea
commit 4596028ab7
1 file changed
+1 -1
+1 -1
View File
@@ -1762,7 +1762,7 @@ def prism_llm_stats():
"'ok',(select count(*) from prism.runs where status='ok'),"
"'errors',(select count(*) from prism.runs where status='error'),"
"'extract_local7b',(select count(*) from prism.runs where kind='extract_local7b'),"
"'extract_pc3b',(select count(*) from prism.runs where kind='extract_pc3b'),"
"'extract_pc3b',(select count(*) from prism.runs where kind='extract_pc3b'),""'pending_tasks',(select count(*) from prism.tasks where status='pending'),""'done_tasks',(select count(*) from prism.tasks where status='done'),""'error_tasks',(select count(*) from prism.tasks where status='error'),"
"'last_run',(select max(finished_at)::text from prism.runs)"
")::text"
)