gptel-copilot feature: looking for testers and feedback! #206
Replies: 5 comments 13 replies
-
This really good so far! My usability notes:
|
Beta Was this translation helpful? Give feedback.
-
Not sure if you've considered this, but for my workflow it would be really helpful to include the context from a chat buffer as well. My main use case is that I'll be seeking advice for how to implement something generally and then switch over to a code buffer to implement it. The chat context would probably really help. |
Beta Was this translation helpful? Give feedback.
-
I am trying to use Gemma but it keeps generating commentary. How are you avoiding that? |
Beta Was this translation helpful? Give feedback.
-
After working on this some more I think reusing the chat API to generate completions is unworkable. I'm going to reimplement |
Beta Was this translation helpful? Give feedback.
-
Feedback on UI, which perhaps just reflects my ignorance of emacs overlays/fringe: Having run Seems my buffer is going to get full of those fringe icons? Is that the intention, or has something gone wrong there? |
Beta Was this translation helpful? Give feedback.
-
I've added a
gptel-complete
command for a "copilot" or coding assistant-style workflow. This feature is on the "copilot" branch of gptel.If you are interested in this feature, I would be glad to get your feedback on it. There are two aspects to the feature:
This testing focuses on the latter, so please let me know how you find the UI.
The former depends heavily on what context we send to the LLM. Right now the context is limited to everything in the current before before (point), so the quality will not be good. We will fix this soon, once I start working on the context UI. We can use LSP/eglot, imenu and project.el to find a reasonable amount of context to include with requests.
To use it, run
gptel-complete
anywhere in your code. It will help to have a code comment explaining what you're trying to do somewhere above the cursor.Move your cursor into the response, this activates additional actions.
While the response is streaming in,
C-c C-g
.After the response is in, you can
C-c SPC
.C-c M-RET
if you are not happy with it.C-c DEL
C-c =
C-c RET
.All other gptel features are available as usual from the transient menu. (You may notice some new options as well.)
Beta Was this translation helpful? Give feedback.
All reactions