From 125b9d43892e797f5d1dcb1909c18d94e20d7bbc Mon Sep 17 00:00:00 2001 From: "Rodrigo Rodriguez (Pragmatismo)" Date: Fri, 6 Feb 2026 09:40:37 -0300 Subject: [PATCH] Remove embed-ui from default features, fix embedded UI path - Removed embed-ui from default features (botserver is backend API only) - UI embedding is botui's responsibility, not botserver's - Fixed rust-embed folder path in embedded_ui.rs - Resolves CI compilation errors --- Cargo.toml | 2 +- src/embedded_ui.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index acd66a1e8..cd10bf56c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ features = ["database", "i18n"] [features] # ===== DEFAULT ===== -default = ["chat", "automation", "drive", "tasks", "cache", "directory", "llm", "crawler", "embed-ui"] +default = ["chat", "automation", "drive", "tasks", "cache", "directory", "llm", "crawler"] # ===== CORE INFRASTRUCTURE (Can be used standalone) ===== scripting = ["dep:rhai"] diff --git a/src/embedded_ui.rs b/src/embedded_ui.rs index 6a09e3049..4a5ac2f5c 100644 --- a/src/embedded_ui.rs +++ b/src/embedded_ui.rs @@ -13,8 +13,8 @@ use std::path::Path; #[cfg(feature = "embed-ui")] #[derive(RustEmbed)] -#[folder = "../botui/ui/suite/"] -#[prefix = ""] +#[folder = "ui"] +#[prefix = "suite"] struct EmbeddedUi; #[cfg(feature = "embed-ui")]