-
Notifications
You must be signed in to change notification settings - Fork 47
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
support for unified diff or git diff format #1
Comments
Hi @unicomp21, if I understand correctly you want an alternative to the "WriteFile" operation that is not writing the whole file every time, but just applies the edits in some diff format? |
yes |
I'm kinda wondering if "language server protocol" might be useful here as well? (ie deno lsp, typescript lsp, might also help drive down token counts during refactor operations) |
I understand, maybe there is something there. We have been actually running language servers in these envs in the past, but for other reasons. |
Looking at unified diff in openai evals, looks like we need a different/simpler approach for handling code deltas? I wonder if gpt-4 could supply simple search/replace string? along w/ target filename? |
You can probably start experimenting with it right now - tell it to use RunProcess to modify files by executing commands that apply the diffs. Then we can see if it can handle it somehow. |
Will do, I just applied for developer access to chat plugins, I'm on the waitlist. I've been experimenting w/ this problem of eliminating cut/paste for a while. Here's an old eval of mine. Starting to think sed w/ search/replace might be the simplest/reliable way for handling deltas. using the new "custom instructions", this seems to work nicely, gpt-4 appears to be comfortable base64 encoding the deltas. { |
Lol, I look forward to a setup w/ zero cut/paste. I'm lazy !!! |
@ValentaTomas how long of a wait does it take on the plugins developer waitlist? |
I don't really know. We actually don't have and developer access to plugins and developed this with the help of the community by remotely debugging it. |
Not sure I understand, how would I do that?
…On Tue, Aug 1, 2023 at 7:47 AM Tomas Valenta ***@***.***> wrote:
I don't really know.
We actually don't have and developer access to plugins and developed this
with the help of the community by remotely debugging it.
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEFL7LOWT6GPIRHIDWR2CTXTD3HFANCNFSM6AAAAAA25NXHUE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
We just talked with some folks and they gave us remote control access to their computer and we were testing the extension that way. |
This seems to be the way cursor.so does it |
otherwise we burn large token counts when doing large refactors?
The text was updated successfully, but these errors were encountered: