bugfix
This commit is contained in:
parent
6179aaebaa
commit
4fa220b985
@ -5,7 +5,7 @@ async with get_sor_context(env, 'llmage') as sor:
|
|||||||
recs = await sor.sqlExe(sql, {'id': luid})
|
recs = await sor.sqlExe(sql, {'id': luid})
|
||||||
if recs:
|
if recs:
|
||||||
r = recs[0]
|
r = recs[0]
|
||||||
x = await llm_charging(r.ppid, r.usages)
|
x = await llm_charging(r.ppid, r)
|
||||||
return x
|
return x
|
||||||
return {'sql': sql, 'luid': luid, 'error': 'llm not found'}
|
return {'sql': sql, 'luid': luid, 'error': 'llm not found'}
|
||||||
return {
|
return {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user