IncognitoPilot icon indicating copy to clipboard operation
IncognitoPilot copied to clipboard

Chat history

Open silvanmelchior opened this issue 2 years ago • 6 comments

Allow to have a chat history

silvanmelchior avatar Aug 17 '23 07:08 silvanmelchior

+1

History will be nice at the UI level. However, it will be great to have in the working directory (of the files generated/read from the docker mount) history of all the chats.

To give more context - one use case is that while working on a topic, there could be an error from the API (say by exceeding the limit of tokens in a specific ask). In this case, the option is to reset. After that, all previous context is lost.

TheDataVoyager avatar Aug 23 '23 19:08 TheDataVoyager

Is this issue solved? How does one enable the chat log? I'd love it.

alanpaulkwan avatar Aug 26 '23 11:08 alanpaulkwan

Sorry, I don't have the time to implement this right now, but open for PRs ;)

silvanmelchior avatar Aug 26 '23 11:08 silvanmelchior

If I get brave enough to learn a modern dev environment I'll try :-) for now I think you can just prompt it like "take all the code so far, and write to coderun.py"

alanpaulkwan avatar Aug 26 '23 13:08 alanpaulkwan

actually would it be really simple to just not delete the /tmp python files? if they were even just ordered by timestamp or something. then one could easily copy them, if so desired

alanpaulkwan avatar Aug 28 '23 12:08 alanpaulkwan

Hmm, not so sure if this is really helpful, since the files are named randomly and are only available within the docker container. I think this is a bit "too hacky" for me.

silvanmelchior avatar Aug 30 '23 15:08 silvanmelchior