Use absolute paths when add-src
This commit is contained in:
parent
4efb84e9a5
commit
7906b1b026
1 changed files with 1 additions and 1 deletions
|
|
@ -110,7 +110,7 @@ class HaikuRAG:
|
|||
if not source_path.exists():
|
||||
raise ValueError(f"File does not exist: {source_path}")
|
||||
|
||||
uri = source_path.as_uri()
|
||||
uri = source_path.absolute().as_uri()
|
||||
md5_hash = hashlib.md5(source_path.read_bytes()).hexdigest()
|
||||
|
||||
# Check if document already exists
|
||||
|
|
|
|||
Loading…
Reference in a new issue