This commit is contained in:
yumoqing 2026-04-08 17:28:32 +08:00
parent 081ac3a773
commit 24ca933cc4

View File

@ -5,6 +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]
debug(f'{luid=}, {r.usages=}')
x = await llm_charging(r.ppid, r) 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'}