bugfix
This commit is contained in:
parent
07bb9bc73c
commit
15313c148b
@ -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')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user