ep: Add new prompt format (#52167)

This PR adds `v0318`, which is just like `v0316` but with bigger blocks.
It seems to perform best so far.

It also adds heuristics to avoid placing the marker token on closing
braces, which results in much nicer blocks.

Finally, it fixes a bug with inserting `<|marker_N|>` mid-line in
`v0316` and `v0317`.



Release Notes:

- N/A
b4bd3fffdfOleksiy Syvokon committed on 3/23/2026, 8:39:25 AM· committed by GitHubparent8b822f9
3 files changedLine totals unavailable