News for hackers. Stuff that matters.
Re:Memory and new controls for ChatGPT by rkuykendall-com on Tuesday February 13, 2024 @04:58PM (#39363409)
> Do you just dump the file in to the chat window?

Yes, along with what you want it to do.

> I also pay for github copilot, but not GPT-4. Can I use copilot for this?

Not that I know of. CoPilot is good at generating new code but can't change existing code.

Re:Memory and new controls for ChatGPT by jjwiseman on Tuesday February 13, 2024 @05:09PM (#39363518)
GitHub Copilot Chat (which is part of Copilot) can change existing code. The UI is that you select some code, then tell it what you want. It returns a diff that you can accept or reject. https://docs.github.com/en/copilot/github-copilot-chat/about...
Re:Memory and new controls for ChatGPT by redblacktree on Tuesday February 13, 2024 @05:06PM (#39363496)
Copilot will change existing code. (though I find it's often not very good at it) I frequently highlight a section of code that has an issue, press ctrl-i and type something like "/fix SomeError: You did it wrong"