From 4b8dbf4d82111af2b4716ae04234c50fdcecc656 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 21 Aug 2025 13:24:23 +0800 Subject: [PATCH] bugfix --- llmage/llmclient.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llmage/llmclient.py b/llmage/llmclient.py index e62c5fb..4600c5c 100644 --- a/llmage/llmclient.py +++ b/llmage/llmclient.py @@ -34,8 +34,8 @@ c.user_message, c.assisant_message from llm a, llmcatelog b left join historyformat c on b.hfid = c.id - left join uapiio on b.ioid = d.id -where a.catelogid = b.id + left join uapiio d on b.ioid = d.id +where a.llmcatelogid = b.id and a.id = ${llmid}$ """ recs = await sor.sqlExe(sql, {'llmid': llmid})