mirror of https://github.com/buster-so/buster.git
refactor: update reasoning effort and model names across agent configurations
This commit is contained in:
parent
b298a24e37
commit
c08c72134b
|
@ -652,7 +652,7 @@ impl Agent {
|
|||
session_id: thread_ref.id.to_string(),
|
||||
trace_id: Uuid::new_v4().to_string(),
|
||||
}),
|
||||
reasoning_effort: Some("high".to_string()),
|
||||
reasoning_effort: Some("medium".to_string()),
|
||||
..Default::default()
|
||||
};
|
||||
|
||||
|
|
|
@ -178,7 +178,7 @@ impl BusterMultiAgent {
|
|||
let model = if env::var("ENVIRONMENT").unwrap_or_else(|_| "development".to_string()) == "local" {
|
||||
"o4-mini".to_string()
|
||||
} else {
|
||||
"gemini-2.5-pro-exp-03-25".to_string()
|
||||
"o4-mini".to_string()
|
||||
};
|
||||
|
||||
// Create agent, passing the provider
|
||||
|
|
|
@ -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" {
|
||||
"o4-mini".to_string()
|
||||
} else {
|
||||
"gemini-2.5-pro-exp-03-25".to_string()
|
||||
"o4-mini".to_string()
|
||||
};
|
||||
|
||||
// 3. Define the tool loader closure
|
||||
|
|
|
@ -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" {
|
||||
"o4-mini".to_string()
|
||||
} else {
|
||||
"gemini-2.5-pro-exp-03-25".to_string()
|
||||
"o4-mini".to_string()
|
||||
};
|
||||
|
||||
// 3. Define the tool loader closure
|
||||
|
|
|
@ -41,7 +41,7 @@ pub fn get_configuration(agent_data: &ModeAgentData) -> ModeConfiguration {
|
|||
if env::var("ENVIRONMENT").unwrap_or_else(|_| "development".to_string()) == "local" {
|
||||
"o4-mini".to_string()
|
||||
} else {
|
||||
"gemini-2.5-pro-exp-03-25".to_string()
|
||||
"o4-mini".to_string()
|
||||
};
|
||||
|
||||
// 3. Define the tool loader closure
|
||||
|
|
|
@ -39,7 +39,7 @@ pub fn get_configuration(
|
|||
if env::var("ENVIRONMENT").unwrap_or_else(|_| "development".to_string()) == "local" {
|
||||
"o4-mini".to_string()
|
||||
} else {
|
||||
"gemini-2.5-pro-exp-03-25".to_string()
|
||||
"o4-mini".to_string()
|
||||
};
|
||||
|
||||
// 3. Define the tool loader closure
|
||||
|
|
|
@ -39,7 +39,7 @@ pub fn get_configuration(
|
|||
if env::var("ENVIRONMENT").unwrap_or_else(|_| "development".to_string()) == "local" {
|
||||
"o4-mini".to_string()
|
||||
} else {
|
||||
"gemini-2.5-pro-exp-03-25".to_string()
|
||||
"o4-mini".to_string()
|
||||
};
|
||||
|
||||
// 3. Define the tool loader closure
|
||||
|
|
|
@ -31,7 +31,7 @@ pub fn get_configuration(
|
|||
if env::var("ENVIRONMENT").unwrap_or_else(|_| "development".to_string()) == "local" {
|
||||
"o4-mini".to_string()
|
||||
} else {
|
||||
"gemini-2.5-flash-preview-04-17".to_string()
|
||||
"gemini-2.0-flash-001".to_string()
|
||||
};
|
||||
|
||||
// 3. Define the tool loader closure
|
||||
|
|
Loading…
Reference in New Issue