/learn
operates on absolute paths relative to host OS's root directory
#720
Labels
bug
Something isn't working
@jupyter-ai/chatui
project:learn-ask
/learn and /ask commands, discoverability
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
main
(2.13.0)The text was updated successfully, but these errors were encountered: