Implemented Local Storage to Persist Chat History of AgroTech AI Chatbot Across Page Reloads #215
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request
Title
Implement Local Storage to Persist Chat History of AgroTech AI Chatbot Across Page Reloads
Description
Added a new feature to implement local storage in the chatbot interface to retain user chat history. This would allow users to continue seeing their previous chat interactions even after refreshing the page, without losing context. Currently, the chatbot loses the chat history upon page reload, causing a poor user experience in longer conversations.
Related Issues
#213
Changes Made
Checklist
Screenshots (if applicable)