From 4596028ab7f0ede3c24a3b342c1ed455703751bd Mon Sep 17 00:00:00 2001 From: Roman Buryan Date: Mon, 23 Nov 2026 21:58:27 +0300 Subject: [PATCH] [PRISM] Add task metrics to LLM endpoint --- ops/work/web/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ops/work/web/app.py b/ops/work/web/app.py index 23a2200..c715b4c 100644 --- a/ops/work/web/app.py +++ b/ops/work/web/app.py @@ -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" )