From aa214624c913012d9af418aadc999f79fe2b0ce7 Mon Sep 17 00:00:00 2001 From: Eric Hare Date: Fri, 12 Dec 2025 08:29:45 -0800 Subject: [PATCH] Update src/utils/paths.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- src/utils/paths.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/utils/paths.py b/src/utils/paths.py index 06f0bd72..6a3e3eca 100644 --- a/src/utils/paths.py +++ b/src/utils/paths.py @@ -25,7 +25,9 @@ def get_openrag_home() -> Path: # This maintains backward compatibility with existing Docker setups container_env = detect_container_environment() if container_env: - # In containers, paths are managed by Docker volumes + # In containers, return the container's working directory. + # This ensures compatibility with existing Docker volume mounts, + # as Docker typically mounts volumes into the working directory. return Path.cwd() # In local environments, use centralized location