google / mesop

Rapidly build AI apps in Python
https://google.github.io/mesop/
Apache License 2.0
5.36k stars 258 forks source link

⬆️ Chat-UI > Recall previous chats by default by pressing ⬆️ #816

Open adriens opened 1 month ago

adriens commented 1 month ago

❔ About

Currently, when, on a chatApp, we want to replay the previous command(s), we need to copy/paste it from the history... or at least this is the default behaviour.

👉 The purpose of this issue is to enhance DEVEX so 🦥 are happy 🤣

💡 Feature request

By default, when using the chatApp :

richard-to commented 1 month ago

Nice. Those are good suggestions. I think we will end up with a copy paste for code snippets in the markdown, but we'll see if it is feasible to add copy and paste for the whole markdown. Mainly an API consideration.

We likely won't be able to handle the up arrow key to browse previous inputs. But I do agree that it would be nice to have.

We are planning to make a much fancier chat component (https://github.com/google/mesop/issues/712), so we may add that feature to that fancier chat component once we get to it.