fix: Use bot-specific embedding config in DriveMonitor KB manager
All checks were successful
BotServer CI/CD / build (push) Successful in 3m47s
All checks were successful
BotServer CI/CD / build (push) Successful in 3m47s
This commit is contained in:
parent
dd4c780c4d
commit
821dd1d7ab
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ impl DriveMonitor {
|
|||
pub fn new(state: Arc<AppState>, bucket_name: String, bot_id: uuid::Uuid) -> Self {
|
||||
let work_root = PathBuf::from(crate::core::shared::utils::get_work_path());
|
||||
#[cfg(any(feature = "research", feature = "llm"))]
|
||||
let kb_manager = Arc::new(KnowledgeBaseManager::new(work_root.clone()));
|
||||
let kb_manager = Arc::new(KnowledgeBaseManager::with_bot_config(work_root.clone(), state.conn.clone(), bot_id));
|
||||
|
||||
Self {
|
||||
state,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue