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/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)