Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
basch
4d ago
0 comments
Share
I am saying to directly output the operational transformation instructions as the tokens. You’re essentially telling it to “write the diff” and then applying the patch.
[retain(8), delete(6), insert("very very"), retain(10)]
0 comments
default
newest
oldest
mike_hearn
4d ago
OpenAI models emit a format similar to a regular diff, but without the line numbers. Look at apply_patch
ritonlajoie
4d ago
there is a model in openrouter doing exactly this, it generates diffs. forgot the name though
j
/
k
navigate · click thread line to collapse