jupyter-ai icon indicating copy to clipboard operation
jupyter-ai copied to clipboard

Config UI should allow saving when API key is passed via an environment variable

Open haesleinhuepf opened this issue 1 year ago • 2 comments
trafficstars

Description

I'm trying to use OpenAI GPT4 and struggle a bit with configuration. I'm using openai and have an environment variable configured. Hence, I do not need to configure my API key in Jupyter AI. It should work without.

Reproduce

The configuration dialog says the API key is optional, but there is an error message saying I must enter it.

image

Expected behavior

Make the API key optional, and remove the error message.

Context

  • Operating System and version: Windows 10
  • Browser and version:
  • JupyterLab version: Version 4.2.5

haesleinhuepf avatar Nov 02 '24 16:11 haesleinhuepf