tracker download fix
This commit is contained in:
@@ -295,6 +295,10 @@ def refresh_preset_price(
|
||||
"model": model_name,
|
||||
"old_price_per_1k": current_price,
|
||||
"new_price_per_1k": new_price,
|
||||
# US-045: per-side rates (per 1k tokens) so the ledger bills input
|
||||
# and output at the provider's actual asymmetry, not the average.
|
||||
"new_input_price_per_1k": round(quote.input_per_1m * price_fraction / 1000.0, 6),
|
||||
"new_output_price_per_1k": round(quote.output_per_1m * price_fraction / 1000.0, 6),
|
||||
"source_repo_id": quote.repo_id,
|
||||
"source_provider": quote.provider,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user