This commit is contained in:
yumoqing 2026-05-22 17:35:00 +08:00
parent 2b0283fbae
commit d2b97bccdc

View File

@ -60,7 +60,7 @@ async def tpac_accounting(tpac, userid, llmid, amount, usage, luid):
b = await hc.request('POST', url, data=d)
d = json.loads(b.decode('utf-8'))
if d['status'] == 'ok':
debug(f'{d=}'
debug(f'{d=}')
await update_llmusage({'id': luid, 'accounting_status': 'accounted'})
return
raise Exception(f'{d} tpac accounting error')