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 prompt history #308

Closed
wants to merge 312 commits into from
Closed

Conversation

lmezasemet
Copy link

@lmezasemet lmezasemet commented Apr 12, 2024

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.

Copy link

vercel bot commented Apr 12, 2024

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

A member of the Team first needs to authorize it.

@athrael-soju
Copy link

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.

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