Skip to content

Instantly share code, notes, and snippets.

@krassowski
Created March 2, 2024 13:11
Show Gist options
  • Save krassowski/7a00dc5ceab9cb78c5f8e0e0d8bbf952 to your computer and use it in GitHub Desktop.
Save krassowski/7a00dc5ceab9cb78c5f8e0e0d8bbf952 to your computer and use it in GitHub Desktop.
JupyterLab 4.1.2 with inline completer overrides.json

JupyterLab 4.1.2 with inline completer overrides.json

Binder

{
"@jupyterlab/completer-extension:inline-completer": {
"streamingAnimation": "uncover",
"showWidget": "always",
"providers": {
"@jupyterlab/inline-completer:history": {
"enabled": true,
"timeout": 20000,
"debouncerDelay": 1000,
"maxSuggestions": 100
},
"@jupyterlab/jupyter-ai": {
"enabled": true,
"timeout": 20000,
"debouncerDelay": 1000,
"maxPrefix": 10000,
"maxSuffix": 10000,
"disabledLanguages": [
"ipythongfm"
],
"streaming": "manual"
}
}
}
}
#!/usr/bin/env bash
set -eux
mkdir -p ${NB_PYTHON_PREFIX}/share/jupyter/lab/settings
cp overrides.json ${NB_PYTHON_PREFIX}/share/jupyter/lab/settings
ipykernel>=6
jupyterlab==4.1.2
jupyterlab_server>=2.25.3
#!/bin/bash
set -e
echo $@
exec jupyter-lab "${@:4}" --config jupyter-config.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment