Alert on AI worker auto-disable
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user