Description
The chatbot accepts user input successfully, but no response is displayed after sending a message to the Gemini API.
Current Behavior
- User messages appear correctly
- No bot response is shown
- Errors are not visible in the UI
Expected Behavior
- Bot responses should display properly
- API errors should be handled and shown when needed
- Null responses should be handled safely
Suggested Fix
- Add proper error handling using try-catch
- Handle null API responses
- Add loading/error states for better debugging and UX
Tech Stack
- Flutter
- google_generative_ai
- Gemini API
Enhancement
- Add typing indicator
- Improve chat bubble UI
- Improve response formatting
Description
The chatbot accepts user input successfully, but no response is displayed after sending a message to the Gemini API.
Current Behavior
Expected Behavior
Suggested Fix
Tech Stack
Enhancement