Husam
f1e96d102e
fix(tool_parsing): require a pipe on the Qwen bare end marker ( #5829 )
...
The `end` branch of _QWEN_BARE_MARKER_RE had both pipes optional
(`\|?end\|?`), so it also matched a bare `end` between whitespace and
replaced it with a space. Messages containing Ruby, Lua or shell code that
closes a block with a lone `end` had those lines deleted, and ordinary prose
lost the word too.
Require at least one pipe so only real turn markers match; `|end`, `end|`,
`|end|` and `/|end|` strip exactly as before. Applied to the duplicated
pattern in static/js/chatRenderer.js as well.
Fixes #5547
2026-08-07 19:33:14 +02:00
..
2026-06-22 21:17:52 +02:00
2026-06-03 00:30:03 +09:00
2026-07-23 14:49:02 +00:00
2026-07-23 14:49:02 +00:00
2026-06-27 13:05:44 +00:00
2026-06-03 14:17:02 +09:00
2026-06-04 03:05:37 +01:00
2026-06-30 08:00:01 +00:00
2026-06-03 08:57:47 +09:00
2026-07-23 14:49:02 +00:00
2026-06-18 05:56:37 +00:00
2026-06-28 14:07:23 +00:00
2026-06-03 14:16:55 +09:00
2026-08-07 19:15:50 +02:00
2026-08-07 19:33:14 +02:00
2026-07-23 14:49:02 +00:00
2026-06-05 14:53:33 +02:00
2026-07-23 14:49:02 +00:00
2026-07-23 14:49:02 +00:00
2026-07-23 14:49:02 +00:00
2026-07-23 14:49:02 +00:00
2026-07-23 14:49:02 +00:00
2026-07-07 00:50:07 +00:00
2026-06-24 19:44:09 +02:00
2026-06-03 13:23:35 +09:00
2026-07-23 14:49:02 +00:00
2026-06-09 09:46:19 +09:00
2026-07-23 14:49:02 +00:00
2026-07-23 14:49:02 +00:00
2026-07-23 14:49:02 +00:00
2026-07-23 14:49:02 +00:00
2026-07-23 14:49:02 +00:00
2026-06-27 13:05:44 +00:00
2026-06-23 10:24:31 +02:00
2026-06-05 02:28:42 +02:00
2026-07-23 14:49:02 +00:00
2026-07-23 14:49:02 +00:00
2026-07-23 14:49:02 +00:00
2026-06-26 13:35:25 +01:00
2026-07-23 14:49:02 +00:00
2026-07-11 03:15:19 +01:00
2026-06-03 13:29:21 +09:00
2026-07-30 10:48:31 +01:00
2026-07-23 14:49:02 +00:00
2026-07-23 14:49:02 +00:00
2026-06-15 21:20:15 +09:00
2026-07-23 14:49:02 +00:00
2026-07-23 14:49:02 +00:00
2026-06-03 14:16:52 +09:00
2026-07-11 17:06:19 +01:00
2026-07-23 14:49:02 +00:00
2026-06-26 13:35:25 +01:00
2026-06-08 10:19:18 +02:00
2026-06-23 23:39:56 +02:00
2026-07-23 14:49:02 +00:00
2026-07-23 14:49:02 +00:00
2026-07-30 14:57:07 +01:00
2026-07-23 14:49:02 +00:00
2026-06-05 13:17:43 +02:00
2026-06-24 22:29:36 +02:00
2026-06-08 10:19:18 +02:00
2026-07-23 14:49:02 +00:00
2026-07-23 14:49:02 +00:00
2026-06-22 13:53:46 +02:00
2026-06-06 04:08:54 -06:00
2026-06-06 04:08:54 -06:00
2026-07-23 14:49:02 +00:00
2026-06-22 13:53:46 +02:00
2026-06-15 12:36:34 +02:00
2026-06-23 10:24:31 +02:00
2026-07-23 14:49:02 +00:00
2026-06-15 16:10:40 +09:00
2026-06-11 18:17:54 +02:00