Ask HN: Why do AI code editors suck at closing tags?
9 points by cryptography
by maouida
0 subcomment
Never encountered this issue until I tested GLM and Kimi K2 models.
Opus and Sonnet seems to be good at handling this, even when giving them a code with open tags, they'll know where to put the closing tag quickly.
by geldedus
0 subcomment
They don't. Use better tools
by cyanydeez
1 subcomments
Context favors the newst tokens. To get closing tages means to find much older tags.
HTML is simply oppositive with LLMs favoring the next token based on the just made.