bugfix
This commit is contained in:
parent
41b7b95cf5
commit
050f572f02
@ -187,6 +187,12 @@ where a.llmid = b.id
|
|||||||
continue
|
continue
|
||||||
r.amount = d.amount
|
r.amount = d.amount
|
||||||
r.cost = d.cost
|
r.cost = d.cost
|
||||||
|
ns = {
|
||||||
|
'id': r.id,
|
||||||
|
'amount': r.amount,
|
||||||
|
'cost': r.cost,
|
||||||
|
'usage': json.dumps(r.usage, ensure_ascii=False, indent=4)
|
||||||
|
}
|
||||||
await sor.U('llmusage', r.copy())
|
await sor.U('llmusage', r.copy())
|
||||||
lus.append(r)
|
lus.append(r)
|
||||||
return lus
|
return lus
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user