5 ms·
do tools like cursor get a special pass? Or do they do some magic? I'm always amazed at how well they deal with diffs. especially when the response jank clear
by sramam 1y ago
do tools like cursor get a special pass? Or do they do some magic?
I'm always amazed at how well they deal with diffs.
especially when the response jank clearly points to a "... + a change",
and cursor maps it back to a proper diff.
- ec109685 1y agoCursor for instance does lots of tricks to make applying janky diffs efficient, e.g. https://blog.getbind.co/2024/10/02/how-cursor-ai-implemented-instant-apply-file-editing-at-1000-tokens-per-second/ https://blog.getbind.co/2024/10/02/how-cursor-ai-implemented...
- mcintyre1994 1y agoI think Cursor would need to have their own system prompt for most of this, I don't think the API includes much of this.