mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-01 02:02:20 +00:00
feat(model-catalog): add off_peak_dates and weekday_dates to OffPeakPricing
This commit is contained in:
parent
06e5a0189d
commit
b527ff0e40
1 changed files with 6 additions and 0 deletions
|
|
@ -129,6 +129,12 @@ pub struct OffPeakPricing {
|
|||
pub windows: Option<Vec<OffPeakWindow>>,
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
pub weekday_timezone: Option<String>,
|
||||
/// YYYY-MM-DD dates, read on weekday_timezone, that are off-peak all day.
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
pub off_peak_dates: Option<Vec<String>>,
|
||||
/// YYYY-MM-DD dates, read on weekday_timezone, that follow the Monday-to-Friday rules.
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
pub weekday_dates: Option<Vec<String>>,
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
pub input_cost_per_token: Option<f64>,
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue