From 29a80bf2514995540c187aed0e953a05d9706047 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Tue, 6 Jan 2026 13:37:29 +0800 Subject: [PATCH] bugfix --- llmage/llmclient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llmage/llmclient.py b/llmage/llmclient.py index 90028d6..10c4d7c 100644 --- a/llmage/llmclient.py +++ b/llmage/llmclient.py @@ -41,7 +41,7 @@ async def get_llms_sort_by_provider(): env = ServerEnv() async with get_sor_context(env, 'llmage') as sor: today = curDateString() - sql = """select a.*, b.orgname from llm, organization b + sql = """select a.*, b.orgname from llm a, organization b where a.enabled_date <= ${today}$ and a.expired_date > ${today}$ and a.providerid = b.id