diff --git a/wwwroot/llmaccounting.dspy b/wwwroot/llmaccounting.dspy index b248278..e81331e 100644 --- a/wwwroot/llmaccounting.dspy +++ b/wwwroot/llmaccounting.dspy @@ -1,7 +1,7 @@ env = request._run_ns async with get_sor_context(env, 'llmage') as sor: sql = "select * from llmusage where status='SUCCEEDED' and accounting_status != 'accounted'" - recs = sor.sqlExe(sql, {}) + recs = await sor.sqlExe(sql, {}) for r in recs: try: x = await llm_accounting(request, r)