This commit is contained in:
yumoqing 2026-03-30 11:46:07 +08:00
parent 07bb9bc73c
commit 15313c148b

View File

@ -6,7 +6,6 @@ async with get_sor_context(request._run_ns, 'llmage') as sor:
exception(f'{e}') exception(f'{e}')
raise e raise e
llmusage = recs[0] llmusage = recs[0]
request, upappid, apinames, luid, userid, taskid
recs = await sor.R('llm', {'id': llmusage.llmid}) recs = await sor.R('llm', {'id': llmusage.llmid})
if len(recs) == 0: if len(recs) == 0:
e = Exception(f'{llmusage.llmid=} not found in llm') e = Exception(f'{llmusage.llmid=} not found in llm')