-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 prompt history #308
Add prompt history #308
Conversation
Updated .env.example to be a bit more succinct.
@lmezasemet is attempting to deploy a commit to the Uncurated Tests Team on Vercel. A member of the Team first needs to authorize it. |
Although this is a great idea, it's worth considering that the rest of the app is using KV to manage sessions and chat history. So it would make sense to power this functionality by KV as well, since it would cause confusion if some things persist and some don't. Just a thought. |
Add support of remote history for logged user, stored in @vercel/kv
Adding useLocalStorageState to have a local history of prompt.
Using ArrowUp and ArrowDown to select prompt in the localStorageState.
Adding DropDownMenu to view all the local history, you can select directly inside of it or also delete all localStorageState.