Files
DeepTutor/tests
游标卡尺 097f7c1125 fix(book): reject incomplete interactive HTML (#2919)
* fix(book): reject incomplete interactive HTML

Normalize wrapped HTML and require complete document and script boundaries so truncated output follows the existing retry/error path instead of being persisted as READY.

* fix(book): end interactive html at its real </html> and name truncation

Find the document end with the HTML parser instead of the last </html> or
the first code fence: script bodies stay raw text, so a fence in <pre>, an
end tag in a script string or prose after the page no longer moves the end.
A reply whose fence never closes is accepted when the document is complete,
and a cut-off document now says it was probably cut off.

---------

Co-authored-by: ZQR1101 <278034003+ZQR1101@users.noreply.github.com>
Co-authored-by: zszz3 <91608029+zszz3@users.noreply.github.com>
2026-11-27 13:55:52 +08:00
..
2026-11-16 02:17:36 +08:00
2026-11-16 02:17:36 +08:00
2026-11-06 01:56:40 +08:00
2026-11-06 01:56:22 +08:00
2026-11-06 01:56:39 +08:00