fix(model-catalog): mirror cache_storage_cost_per_token_per_hour in ModelInfoFields

ModelInfoFields lists the fields Python's ModelInfoBase(...) copies, and
get_model_info_helper now copies cache_storage_cost_per_token_per_hour
right before off_peak_pricing, so the mirror gets the same field in the
same place.
This commit is contained in:
roasted-penguin 2026-11-05 12:31:47 +09:00
parent aa8bef2800
commit 04833e4afb

View file

@ -58,6 +58,7 @@ pub struct ModelInfoFields {
pub cache_creation_input_token_cost_above_12hr_ultrafast: Option<f64>,
pub cache_creation_input_token_cost_above_12hr_above_272k_tokens_batches: Option<f64>,
pub cache_creation_input_token_cost_above_12hr_above_272k_tokens_ultrafast: Option<f64>,
pub cache_storage_cost_per_token_per_hour: Option<f64>,
pub off_peak_pricing: Option<Value>,
pub input_cost_per_character: Option<f64>,
pub input_cost_per_token_above_128k_tokens: Option<f64>,