Improve AI chatbot error handling for backend connection failures#699
Improve AI chatbot error handling for backend connection failures#699Soumyasucharita12 wants to merge 1 commit into
Conversation
|
@Soumyasucharita12 is attempting to deploy a commit to the CodeBlooded's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@viru0909-dev I have implemented the frontend error handling improvements and created a PR for this issue. Please review it when possible. Thank you! |
|
@viru0909-dev The failing check appears to be related to Vercel deployment authorization rather than the code changes themselves. I verified the frontend changes locally before creating the PR. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Thanks for this PR, @Soumyasucharita12! 🙌 The AI chatbot error message fix is a great improvement — showing an honest error instead of a fake response is the right approach. However, I noticed a problem with the Could you please:
Once those are fixed, I'll be happy to merge this! Thanks for contributing |
Description
Improved the AI chatbot error handling logic when backend/API connection failures occur.
Changes Made
Problem Fixed
Previously, when the backend AI service was unavailable, the chatbot displayed a generic legal response that could confuse users.
Now the chatbot properly informs users when the AI service cannot be reached.
Testing
Fixes #439