This commit is contained in:
yumoqing 2026-01-06 16:41:39 +08:00
parent 7b65e289d6
commit 551ab87247

View File

@ -90,12 +90,12 @@ where a.llmcatelogid = b.id
for r in recs: for r in recs:
if cid != r.catelogid: if cid != r.catelogid:
x = { x = {
'catelogid': r.catelogid, 'catelogid': r.llmcatelogid,
'catelogname': r.catelogname, 'catelogname': r.catelogname,
'llms': [r] 'llms': [r]
} }
d.append(x) d.append(x)
cid = r.catelogid cid = r.llmcatelogid
else: else:
x['llms'].append(r) x['llms'].append(r)
return d return d