diff --git a/llmage/llmclient.py b/llmage/llmclient.py index 7cfa6be..f99f316 100644 --- a/llmage/llmclient.py +++ b/llmage/llmclient.py @@ -18,7 +18,7 @@ async def get_llms_by_catelog(catelogid): db = DBPools() dbname = get_serverenv('get_module_dbname')('llmage') async with db.sqlorContext(dbname) as sor: - recs = await sor.R('llm', {'catelogid': catelogid}) + recs = await sor.R('llm', {'llmcatelogid': catelogid}) return recs return []