Skip to content

Support Notebook 7 #504

@jtpio

Description

@jtpio

Looking at the code, there seems to be some components that expect to work on a LabShell only:

if (!(shell instanceof LabShell)) {

Which can prevent using the extension in other lab-based applications such as Notebook 7.

Maybe there can be a way to make jupyter-ai work in more lab-based applications? Even if only a limited set of features is available.

For instance this could allow for code completions in Notebook 7.1 (based on #465). Below is an example running https://github.com/krassowski/jupyterlab-transformers-completer:

inline-completer.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions