refactor: update reasoning effort and model names across agent configurations

This commit is contained in:
dal 2025-05-08 14:49:01 -06:00
parent b298a24e37
commit c08c72134b
No known key found for this signature in database
GPG Key ID: 16F4B0E1E9F61122
8 changed files with 8 additions and 8 deletions

View File

@ -652,7 +652,7 @@ impl Agent {
session_id: thread_ref.id.to_string(), session_id: thread_ref.id.to_string(),
trace_id: Uuid::new_v4().to_string(), trace_id: Uuid::new_v4().to_string(),
}), }),
reasoning_effort: Some("high".to_string()), reasoning_effort: Some("medium".to_string()),
..Default::default() ..Default::default()
}; };

View File

@ -178,7 +178,7 @@ impl BusterMultiAgent {
let model = if env::var("ENVIRONMENT").unwrap_or_else(|_| "development".to_string()) == "local" { let model = if env::var("ENVIRONMENT").unwrap_or_else(|_| "development".to_string()) == "local" {
"o4-mini".to_string() "o4-mini".to_string()
} else { } else {
"gemini-2.5-pro-exp-03-25".to_string() "o4-mini".to_string()
}; };
// Create agent, passing the provider // Create agent, passing the provider

View File

@ -49,7 +49,7 @@ pub fn get_configuration(agent_data: &ModeAgentData, data_source_syntax: Option<
let model = if env::var("ENVIRONMENT").unwrap_or_else(|_| "development".to_string()) == "local" { let model = if env::var("ENVIRONMENT").unwrap_or_else(|_| "development".to_string()) == "local" {
"o4-mini".to_string() "o4-mini".to_string()
} else { } else {
"gemini-2.5-pro-exp-03-25".to_string() "o4-mini".to_string()
}; };
// 3. Define the tool loader closure // 3. Define the tool loader closure

View File

@ -36,7 +36,7 @@ pub fn get_configuration(agent_data: &ModeAgentData, _data_source_syntax: Option
let model = if env::var("ENVIRONMENT").unwrap_or_else(|_| "development".to_string()) == "local" { let model = if env::var("ENVIRONMENT").unwrap_or_else(|_| "development".to_string()) == "local" {
"o4-mini".to_string() "o4-mini".to_string()
} else { } else {
"gemini-2.5-pro-exp-03-25".to_string() "o4-mini".to_string()
}; };
// 3. Define the tool loader closure // 3. Define the tool loader closure

View File

@ -41,7 +41,7 @@ pub fn get_configuration(agent_data: &ModeAgentData) -> ModeConfiguration {
if env::var("ENVIRONMENT").unwrap_or_else(|_| "development".to_string()) == "local" { if env::var("ENVIRONMENT").unwrap_or_else(|_| "development".to_string()) == "local" {
"o4-mini".to_string() "o4-mini".to_string()
} else { } else {
"gemini-2.5-pro-exp-03-25".to_string() "o4-mini".to_string()
}; };
// 3. Define the tool loader closure // 3. Define the tool loader closure

View File

@ -39,7 +39,7 @@ pub fn get_configuration(
if env::var("ENVIRONMENT").unwrap_or_else(|_| "development".to_string()) == "local" { if env::var("ENVIRONMENT").unwrap_or_else(|_| "development".to_string()) == "local" {
"o4-mini".to_string() "o4-mini".to_string()
} else { } else {
"gemini-2.5-pro-exp-03-25".to_string() "o4-mini".to_string()
}; };
// 3. Define the tool loader closure // 3. Define the tool loader closure

View File

@ -39,7 +39,7 @@ pub fn get_configuration(
if env::var("ENVIRONMENT").unwrap_or_else(|_| "development".to_string()) == "local" { if env::var("ENVIRONMENT").unwrap_or_else(|_| "development".to_string()) == "local" {
"o4-mini".to_string() "o4-mini".to_string()
} else { } else {
"gemini-2.5-pro-exp-03-25".to_string() "o4-mini".to_string()
}; };
// 3. Define the tool loader closure // 3. Define the tool loader closure

View File

@ -31,7 +31,7 @@ pub fn get_configuration(
if env::var("ENVIRONMENT").unwrap_or_else(|_| "development".to_string()) == "local" { if env::var("ENVIRONMENT").unwrap_or_else(|_| "development".to_string()) == "local" {
"o4-mini".to_string() "o4-mini".to_string()
} else { } else {
"gemini-2.5-flash-preview-04-17".to_string() "gemini-2.0-flash-001".to_string()
}; };
// 3. Define the tool loader closure // 3. Define the tool loader closure