bugfix
This commit is contained in:
parent
3e0009bf75
commit
f0e2cc4697
10
wwwroot/test_pricing_program.dspy
Normal file
10
wwwroot/test_pricing_program.dspy
Normal 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)
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user