This commit is contained in:
yumoqing 2025-09-14 15:20:36 +08:00
parent 10164eeaef
commit 8714a10986

View File

@ -4,5 +4,7 @@ async with db.sqlorContext(dbname) as sor:
sql = """select * from llm where llmcatelogid = ${llmcatelogid}$ and id != ${llmid}$""" sql = """select * from llm where llmcatelogid = ${llmcatelogid}$ and id != ${llmid}$"""
ns = params_kw.copy() ns = params_kw.copy()
recs = await sor.sqlExe(sql, ns) recs = await sor.sqlExe(sql, ns)
for r in recs.get('rows', []):
r.description = json.dumps(r.description)
return recs return recs
return [] return []