diff options
Diffstat (limited to 'src/config/mod.rs')
| -rw-r--r-- | src/config/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config/mod.rs b/src/config/mod.rs index 2eecf62..db210ab 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -1356,7 +1356,7 @@ impl Config { if new_document_paths.is_empty() || new_document_paths == document_paths { bail!("No changes") } - rag.refresh_document_paths(&new_document_paths, config, abort_signal) + rag.refresh_document_paths(&new_document_paths, false, config, abort_signal) .await?; config.write().rag = Some(Arc::new(rag)); Ok(()) @@ -1368,7 +1368,7 @@ impl Config { None => bail!("No RAG"), }; let document_paths = rag.document_paths().to_vec(); - rag.refresh_document_paths(&document_paths, config, abort_signal) + rag.refresh_document_paths(&document_paths, true, config, abort_signal) .await?; config.write().rag = Some(Arc::new(rag)); Ok(()) |
