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

Record prompts and responses, and whether the command was run #6

Open
simonw opened this issue Mar 27, 2024 · 2 comments
Open

Record prompts and responses, and whether the command was run #6

simonw opened this issue Mar 27, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@simonw
Copy link
Owner

simonw commented Mar 27, 2024

At the moment this bypasses the LLM mechanism for logging to SQLite, which feels like a wasted opportunity to gather more interesting data.

Plus recording if the user hit "enter" or edited the prompt or cancelled it could be really interesting. In the future that could even work as additional signal for the LLM - could pass in the last 3 "accepted" completions as examples, or even look for similar accepted examples and include those (RAG style) in the prompt.

@simonw simonw added the enhancement New feature or request label Mar 27, 2024
@simonw
Copy link
Owner Author

simonw commented Mar 27, 2024

... if the user does execute the command, we could even track its exit code and make a note if it failed with an error.

And maybe even have a llm cmd -/--retry mechanism of some sort, which automatically sends in the error message from the last attempt to get it to try again.

@gtarpenning
Copy link

100% +1 to this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants