josephrocca / OpenCharacters

Simple little web interface for creating characters and chatting with them. It's basically a single HTML file - no server. Share characters using a link (character data is stored within the URL itself). All chat data is stored in your browser using IndexedDB. Currently supports OpenAI APIs and ~any Hugging Face model.
https://josephrocca.github.io/OpenCharacters
MIT License
364 stars 60 forks source link

Feature request: Insert messages / responses #40

Closed Marko731 closed 1 year ago

Marko731 commented 1 year ago

There's already a button to delete messages, but it would be possible to add an button to insert messages too? Ideally, there would be a dropdown in the insert message popup, allowing to select the role for the new message (User / System / AI).

josephrocca commented 1 year ago

Thanks! This is added. It's a hidden option in the "edit message" popup (pencil icon next to message author name). It opens a "sub-popup". Please let me know your use case if you use this often enough that you want a more ergonomic way to insert messages.

Marko731 commented 1 year ago

Excellent, thanks very much! :D