From 94847ea515eefc171a9ebaf2cc02c94b64321c35 Mon Sep 17 00:00:00 2001 From: Agent Zero Date: Fri, 31 Jul 2026 23:12:05 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20PluginModel.is=5Factive=20=E2=86=92=20Pl?= =?UTF-8?q?uginModel.active=20(worker=20crash=20fix)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/core/worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/core/worker.py b/app/core/worker.py index 5bd419c..a5e7a4f 100644 --- a/app/core/worker.py +++ b/app/core/worker.py @@ -139,7 +139,7 @@ async def on_startup(ctx: dict[str, Any]) -> None: async with async_session() as db: # Global plugins that are marked active result = await db.execute( - sa_select(PluginModel.name).where(PluginModel.is_active == True) + sa_select(PluginModel.name).where(PluginModel.active == True) ) active_plugin_names = {row[0] for row in result} logger.info(f"Worker: {len(active_plugin_names)} active plugins: {active_plugin_names}")