Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display error and prevent submit if a user does not provide all required API keys in chat panel setup #150

Closed
JasonWeill opened this issue May 6, 2023 · 0 comments · Fixed by #353
Labels
enhancement New feature or request @jupyter-ai/chatui
Milestone

Comments

@JasonWeill
Copy link
Collaborator

Problem

On initial setup of the chat UI, one or more text boxes appear, so that users can provide their credentials.

image

These text boxes are not required inputs, and I can submit the form without providing the required key, and I see no errors when I do so. Jupyter AI's chat panel remains nonfunctional.

Proposed Solution

Indicate that the user must provide a value for all authentication credential inputs. Consider adding an informative message about what is required; this can also be a link to the docs.

Block submission of the form, or reject form submissions with an error, if all required creds are not provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request @jupyter-ai/chatui
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant