summaryrefslogtreecommitdiffstats
path: root/src/config/agent.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/agent.rs')
-rw-r--r--src/config/agent.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/agent.rs b/src/config/agent.rs
index 5416586..c09c8a9 100644
--- a/src/config/agent.rs
+++ b/src/config/agent.rs
@@ -68,7 +68,7 @@ impl Agent {
println!("The agent has the documents, initializing RAG...");
let mut document_paths = vec![];
for path in &definition.documents {
- if Rag::is_url_path(path) {
+ if is_url(path) {
document_paths.push(path.to_string());
} else {
let new_path = safe_join_path(&functions_dir, path)