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

fix(ui): fix 500 on empty prompt #86

Merged
merged 1 commit into from
Nov 7, 2023
Merged

fix(ui): fix 500 on empty prompt #86

merged 1 commit into from
Nov 7, 2023

Conversation

Lee-W
Copy link
Collaborator

@Lee-W Lee-W commented Nov 7, 2023

Why this fix?

If we send an empty string, the UI returns 500 error.

image

After this fix

The AI asks what it can help which seems to be a more user-friendly response

image

closes: #82

Copy link
Collaborator

@pankajastro pankajastro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Lee-W Lee-W merged commit 581fab8 into main Nov 7, 2023
7 checks passed
@Lee-W Lee-W deleted the fix-500-on-empty-prmopt branch November 7, 2023 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Running empty query throwing HTTP500 on web
2 participants