Alert on AI worker auto-disable

This commit is contained in:
Your Name
2026-07-30 09:05:36 +05:00
parent bb67e9509b
commit e289e3a7f9
7 changed files with 106 additions and 10 deletions
+7 -1
View File
@@ -3410,7 +3410,13 @@ async def workers(request: Request):
base_context(
request,
user,
workers=[dict(r) for r in rows],
workers=[
{
**dict(r),
"meta_json": json.loads(r["meta_json"]) if isinstance(r["meta_json"], str) else (r["meta_json"] or {}),
}
for r in rows
],
settings=settings,
provider_options=PROVIDER_OPTIONS,
ai_provider=ai_provider,