bugfix
This commit is contained in:
parent
db8571d8da
commit
0c1397455c
@ -10,7 +10,7 @@ from accounting.getaccount import getCustomerBalance
|
|||||||
async def llm_charging(sor, ppid, llmusage):
|
async def llm_charging(sor, ppid, llmusage):
|
||||||
env = ServerEnv()
|
env = ServerEnv()
|
||||||
prices = await env.pricing_program_charging(sor, ppid, llmusage.usage)
|
prices = await env.pricing_program_charging(sor, ppid, llmusage.usage)
|
||||||
if len(prics) == 0:
|
if len(prices) == 0:
|
||||||
d = DictObject()
|
d = DictObject()
|
||||||
d.original_amount = d.amount = d.cost = 0.00
|
d.original_amount = d.amount = d.cost = 0.00
|
||||||
return d
|
return d
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user