This commit is contained in:
Adil Hafeez 2026-04-09 03:28:47 +00:00 committed by GitHub
commit e5b40b7a1f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 44 additions and 9 deletions

View file

@ -206,6 +206,15 @@ pub struct Configuration {
pub model_metrics_sources: Option<Vec<MetricsSource>>,
}
#[derive(Debug, Clone, Serialize, Deserialize, Default, PartialEq)]
pub enum TokenCountingStrategy {
#[default]
#[serde(rename = "estimate")]
Estimate,
#[serde(rename = "auto")]
Auto,
}
#[derive(Debug, Clone, Serialize, Deserialize, Default)]
pub struct Overrides {
pub prompt_target_intent_matching_threshold: Option<f64>,
@ -213,6 +222,7 @@ pub struct Overrides {
pub use_agent_orchestrator: Option<bool>,
pub llm_routing_model: Option<String>,
pub agent_orchestration_model: Option<String>,
pub token_counting_strategy: Option<TokenCountingStrategy>,
}
#[derive(Debug, Clone, Serialize, Deserialize, Default)]