From c994784255cffd7a4772f47cf120b620b3e204f6 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 5 Jan 2026 13:53:21 +0800 Subject: [PATCH] bugfix --- llmage/accounting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llmage/accounting.py b/llmage/accounting.py index bcdb5dc..d29c8f5 100644 --- a/llmage/accounting.py +++ b/llmage/accounting.py @@ -19,7 +19,7 @@ async def llm_accounting(request, llmid, e = Exception(f'llm ({llmid}) donot has a pricing_program') exception(f'{e}') raise e - resellerid = rec[0].ownerid + resellerid = recs[0].ownerid providerid = recs[0].providerid charges = await pricing_program_charging(sor, recs[0].ppid, usage) trans_amount = trans_cost = 0