feat(usage): add automatic models.dev pricing sync (#5734)

* feat(usage): persist model pricing in local config

* feat(usage): sync selected models.dev pricing on startup

* fix(usage): address models.dev sync review feedback

* fix(usage): harden local pricing synchronization
This commit is contained in:
Thefool
2026-07-28 23:37:55 +08:00
committed by GitHub
parent ff3bc242cc
commit 12b972a66e
20 changed files with 2672 additions and 195 deletions
+4
View File
@@ -1532,7 +1532,11 @@ pub fn run() {
commands::get_request_detail,
commands::get_model_pricing,
commands::update_model_pricing,
commands::update_model_pricing_batch,
commands::delete_model_pricing,
commands::get_models_dev_sync_config,
commands::save_models_dev_sync_config,
commands::record_models_dev_sync_result,
commands::check_provider_limits,
// Session usage sync
commands::sync_session_usage,