AI计价规则BUG修复
This commit is contained in:
@@ -339,6 +339,7 @@ async def optimize(
|
||||
attempt_no=prompt_attempt_no,
|
||||
charge_kind=CHARGE_TEXT_PROMPT,
|
||||
usage=token_usage,
|
||||
media_references=record.media_references,
|
||||
)
|
||||
await deduct_credits(
|
||||
db, current_user.id, text_credits,
|
||||
|
||||
Reference in New Issue
Block a user