mirror of https://github.com/buster-so/buster.git
eval back to o3-mini to compare
This commit is contained in:
parent
6d6042ad06
commit
e0f65589dd
|
@ -118,7 +118,7 @@ impl BusterMultiAgent {
|
||||||
|
|
||||||
// Create agent, passing the provider
|
// Create agent, passing the provider
|
||||||
let agent = Arc::new(Agent::new(
|
let agent = Arc::new(Agent::new(
|
||||||
"o4-mini".to_string(), // Initial model (can be overridden by first mode)
|
"o3-mini".to_string(), // Initial model (can be overridden by first mode)
|
||||||
user_id,
|
user_id,
|
||||||
session_id,
|
session_id,
|
||||||
"buster_multi_agent".to_string(),
|
"buster_multi_agent".to_string(),
|
||||||
|
|
|
@ -30,7 +30,7 @@ pub fn get_configuration(agent_data: &ModeAgentData) -> ModeConfiguration {
|
||||||
// Note: This prompt doesn't use {DATASETS}
|
// Note: This prompt doesn't use {DATASETS}
|
||||||
|
|
||||||
// 2. Define the model for this mode (Using default based on original MODEL = None)
|
// 2. Define the model for this mode (Using default based on original MODEL = None)
|
||||||
let model = "o4-mini".to_string();
|
let model = "o3-mini".to_string();
|
||||||
|
|
||||||
// 3. Define the tool loader closure
|
// 3. Define the tool loader closure
|
||||||
let tool_loader: Box<
|
let tool_loader: Box<
|
||||||
|
|
|
@ -42,7 +42,7 @@ pub fn get_configuration(agent_data: &ModeAgentData) -> ModeConfiguration {
|
||||||
.replace("{TODAYS_DATE}", &agent_data.todays_date);
|
.replace("{TODAYS_DATE}", &agent_data.todays_date);
|
||||||
|
|
||||||
// 2. Define the model for this mode (Using a default, adjust if needed)
|
// 2. Define the model for this mode (Using a default, adjust if needed)
|
||||||
let model = "o4-mini".to_string(); // Assuming default based on original MODEL = None
|
let model = "o3-mini".to_string(); // Assuming default based on original MODEL = None
|
||||||
|
|
||||||
// 3. Define the tool loader closure
|
// 3. Define the tool loader closure
|
||||||
let tool_loader: Box<dyn Fn(&Arc<Agent>) -> Pin<Box<dyn Future<Output = Result<()>> + Send>> + Send + Sync> =
|
let tool_loader: Box<dyn Fn(&Arc<Agent>) -> Pin<Box<dyn Future<Output = Result<()>> + Send>> + Send + Sync> =
|
||||||
|
|
|
@ -26,8 +26,8 @@ pub fn get_configuration(agent_data: &ModeAgentData) -> ModeConfiguration {
|
||||||
|
|
||||||
// 2. Define the model for this mode (Using a default, adjust if needed)
|
// 2. Define the model for this mode (Using a default, adjust if needed)
|
||||||
// Since the original MODEL was None, we might use the agent's default
|
// Since the original MODEL was None, we might use the agent's default
|
||||||
// or specify a standard one like "o4-mini". Let's use "o4-mini".
|
// or specify a standard one like "o3-mini". Let's use "o3-mini".
|
||||||
let model = "o4-mini".to_string();
|
let model = "o3-mini".to_string();
|
||||||
|
|
||||||
// 3. Define the tool loader closure
|
// 3. Define the tool loader closure
|
||||||
let tool_loader: Box<
|
let tool_loader: Box<
|
||||||
|
|
|
@ -31,7 +31,7 @@ pub struct ModeAgentData {
|
||||||
pub struct ModeConfiguration {
|
pub struct ModeConfiguration {
|
||||||
/// The system prompt to use for the LLM call in this mode.
|
/// The system prompt to use for the LLM call in this mode.
|
||||||
pub prompt: String,
|
pub prompt: String,
|
||||||
/// The specific LLM model identifier (e.g., "o4-mini") to use for this mode.
|
/// The specific LLM model identifier (e.g., "o3-mini") to use for this mode.
|
||||||
pub model: String,
|
pub model: String,
|
||||||
/// An async function/closure responsible for clearing existing tools
|
/// An async function/closure responsible for clearing existing tools
|
||||||
/// and loading the specific tools required for this mode onto the agent.
|
/// and loading the specific tools required for this mode onto the agent.
|
||||||
|
|
|
@ -28,7 +28,7 @@ pub fn get_configuration(agent_data: &ModeAgentData) -> ModeConfiguration {
|
||||||
.replace("{DATASETS}", &agent_data.dataset_names.join(", "));
|
.replace("{DATASETS}", &agent_data.dataset_names.join(", "));
|
||||||
|
|
||||||
// 2. Define the model for this mode (Using default based on original MODEL = None)
|
// 2. Define the model for this mode (Using default based on original MODEL = None)
|
||||||
let model = "o4-mini".to_string();
|
let model = "o3-mini".to_string();
|
||||||
|
|
||||||
// 3. Define the tool loader closure
|
// 3. Define the tool loader closure
|
||||||
let tool_loader: Box<
|
let tool_loader: Box<
|
||||||
|
|
|
@ -673,7 +673,7 @@ mod tests {
|
||||||
fn test_tool_parameter_validation() {
|
fn test_tool_parameter_validation() {
|
||||||
let tool = FilterDashboardsTool {
|
let tool = FilterDashboardsTool {
|
||||||
agent: Arc::new(Agent::new(
|
agent: Arc::new(Agent::new(
|
||||||
"o4-mini".to_string(),
|
"o3-mini".to_string(),
|
||||||
HashMap::new(),
|
HashMap::new(),
|
||||||
Uuid::new_v4(),
|
Uuid::new_v4(),
|
||||||
Uuid::new_v4(),
|
Uuid::new_v4(),
|
||||||
|
|
Loading…
Reference in New Issue