Open
Description
Description
When running the /learn
command, users can provide an absolute path relative to the host operating system's root directory. For example, on macOS, the path /Users/jsmith/foo/bar
is valid, even if JupyterLab is running under /Users/jsmith/foo
, in which case only /bar
would be used by most of JupyterLab.
Expected behavior
For consistency with the terminal and the file browser, Jupyter AI should regard /
as the server's root, not the root of the host OS's file system.
Context
- Operating System and version: macOS 13.6.6
- Browser and version: Firefox ESR 124.0.1
- JupyterLab version: 4.1.5
- Jupyter AI version: tip of
main
(2.13.0)