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

Add error handling for failed response in PromptForm #330

Closed
wants to merge 318 commits into from

Conversation

rudrodip
Copy link
Contributor

@rudrodip rudrodip commented May 5, 2024

Fixes issue #329

The code changes in PromptForm component add error handling for failed responses when submitting user messages. If an error occurs during the submission process, a toast notification with the message "Failed to get response" will be displayed. This improvement ensures a better user experience by providing feedback in case of errors.

Before:

Screen.Recording.2024-05-05.at.10.18.59.AM.mov

After:

Screen.Recording.2024-05-05.at.10.42.19.AM.mov

leerob and others added 27 commits January 20, 2024 10:30
The import path for the getMissingKeys function was updated from
'../actions' to '@/app/actions' to align with the project's import
conventions and improve code clarity.
The code changes in `PromptForm` component add error handling for failed responses when submitting user messages. If an error occurs during the submission process, a toast notification with the message "Failed to get response" will be displayed. This improvement ensures a better user experience by providing feedback in case of errors.
Copy link

vercel bot commented May 5, 2024

@rudrodip is attempting to deploy a commit to the Uncurated Tests Team on Vercel.

A member of the Team first needs to authorize it.

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.

None yet