diff --git a/jupyterlab/environment.yaml b/jupyterlab/environment.yaml index d59ffac..65c8216 100644 --- a/jupyterlab/environment.yaml +++ b/jupyterlab/environment.yaml @@ -35,6 +35,7 @@ dependencies: - jupyterlab-spellchecker >= 0.7.3 - jupyterlab-pioneer - jupyter-ai + - langchain-openai # optional jupyter-ai dependency - jupyterlab-favorites >=3.2.1 - jupyter-scheduler >=2.8.0,<3.0.0 # >=2.8 due to https://github.com/conda-forge/jupyter_scheduler-feedstock/issues/46 @@ -59,6 +60,7 @@ dependencies: - pip: # vscode jupyterlab launcher - git+https://github.com/betatim/vscode-binder + - git+https://github.com/nebari-dev/nebari-jupyter-ai - jupyterlab_nvdashboard==0.11.0 - argo-jupyter-scheduler==2024.6.1 - jhub-apps==2025.2.1 diff --git a/scripts/install-conda-environment.sh b/scripts/install-conda-environment.sh index 8b4c5b2..d4b9052 100755 --- a/scripts/install-conda-environment.sh +++ b/scripts/install-conda-environment.sh @@ -49,7 +49,14 @@ else fi # ========= list dependencies ======== -/opt/conda/bin/conda list +# Run pip check for all conda environments +echo "Running \"conda list\" for all conda environments..." +mamba env list | grep -v '^#' | awk '{print $1}' | while read -r conda_env_name; do + if [ ! -z "$conda_env_name" ]; then + echo "Running \"conda list\" for environment: $conda_env_name" + /opt/conda/bin/conda list -n "$conda_env_name" + fi +done # ========== cleanup conda =========== /opt/conda/bin/mamba clean -afy