From c9ee8674be7a91ee9d0da86212e5060d433418f1 Mon Sep 17 00:00:00 2001 From: dal Date: Mon, 14 Apr 2025 12:42:12 -0600 Subject: [PATCH] latest version number --- api/libs/agents/src/agent.rs | 2 +- api/libs/agents/src/agents/buster_multi_agent.rs | 2 +- api/libs/handlers/src/chats/post_chat_handler.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api/libs/agents/src/agent.rs b/api/libs/agents/src/agent.rs index 31c4ee631..8bd44e8b7 100644 --- a/api/libs/agents/src/agent.rs +++ b/api/libs/agents/src/agent.rs @@ -605,7 +605,7 @@ impl Agent { session_id: thread.id.to_string(), trace_id: Uuid::new_v4().to_string(), }), - reasoning_effort: Some("low".to_string()), + // reasoning_effort: Some("low".to_string()), ..Default::default() }; diff --git a/api/libs/agents/src/agents/buster_multi_agent.rs b/api/libs/agents/src/agents/buster_multi_agent.rs index a2bbc7859..b4228fc21 100644 --- a/api/libs/agents/src/agents/buster_multi_agent.rs +++ b/api/libs/agents/src/agents/buster_multi_agent.rs @@ -206,7 +206,7 @@ impl BusterMultiAgent { // Create agent, passing the selected initialization prompt as default let agent = Arc::new(Agent::new( - "o3-mini".to_string(), + "gpt-4.1".to_string(), user_id, session_id, "buster_multi_agent".to_string(), diff --git a/api/libs/handlers/src/chats/post_chat_handler.rs b/api/libs/handlers/src/chats/post_chat_handler.rs index 98294e32b..d6ceccf39 100644 --- a/api/libs/handlers/src/chats/post_chat_handler.rs +++ b/api/libs/handlers/src/chats/post_chat_handler.rs @@ -1055,7 +1055,7 @@ async fn process_completed_files( .set(( chats::most_recent_file_id.eq(Some(file_uuid)), chats::most_recent_file_type.eq(file_type_for_chat), - // chats::most_recent_version_number implicitly handled by file version + chats::most_recent_version_number.eq(file_content.version_number), chats::updated_at.eq(Utc::now()), )) .execute(conn)