bugfix
This commit is contained in:
parent
99afd61dac
commit
943d3d53da
@ -355,7 +355,7 @@ where a.id = b.ppid
|
||||
if not data_value:
|
||||
e = f'数据({config_data})没有({k})数据'
|
||||
exception(e)
|
||||
raise Exeption(e)
|
||||
raise Exception(e)
|
||||
if f.type == 'unit':
|
||||
unit = spec_value
|
||||
elif f.type == 'times':
|
||||
|
||||
@ -8,10 +8,6 @@ data = {
|
||||
db = DBPools()
|
||||
dbname = get_module_dbname('pricing')
|
||||
async with db.sqlorContext(dbname) as sor:
|
||||
data = {
|
||||
'input_tokens': 123456,
|
||||
'completions_tokens': 332234
|
||||
}
|
||||
x = await pricing_program_charging(sor, ppid, data)
|
||||
return x
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user