Skip to content

/learn operates on absolute paths relative to host OS's root directory #720

Open
@JasonWeill

Description

@JasonWeill

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBugs reported by usersscope:RAGIssues concerning RAG, e.g. /learn and /askscope:chat-uxIssues concerning the chat user experience

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions