This commit is contained in:
yumoqing 2025-10-27 13:20:08 +08:00
parent 3e0009bf75
commit f0e2cc4697

View File

@ -0,0 +1,10 @@
db = DBPools()
dbname = get_module_dbname('pricing')
async with db.sqlorContext(dbname) as sor:
data = {
'input_tokens': 123456,
'completions_tokens': 332234
}
x = pricing_program_charging(sor, 'vq5OpFe5JTA255sdRNWtD', data)
print(x)