There should be a mechanism for saving all chats along with some basic data about performance. This would be a precursor to making old chats/code searchable and it would also be useful to be able to see how long responses tend to take, how long it tends to take code to execute, etc.
To save:
All API requests (as plain text)
All responses (as plain text)
timestamps for request and response (allowing us to calculate latency)
A boolean indicating whether or not the response was truncated
The current model
The current response token limit
Ideally this would be in a local database, either within the project directory (but in the gitignore), or somewhere on the local drive.
There should be a mechanism for saving all chats along with some basic data about performance. This would be a precursor to making old chats/code searchable and it would also be useful to be able to see how long responses tend to take, how long it tends to take code to execute, etc.
To save:
Ideally this would be in a local database, either within the project directory (but in the gitignore), or somewhere on the local drive.