Commit f2a4965
committed
fix(transcript): wrap reasoning in <thinking> tags in markdown export
The `_Thinking:_` open delimiter had no closing counterpart, so a
downstream parser couldn't tell where reasoning ends and the assistant
response begins in the exported markdown.
Switch the wrapper to `<thinking>...</thinking>`, which is well-formed
and matches the native output of reasoning models like DeepSeek, Qwen3,
and GLM. Live TUI rendering is intentionally untouched — that's #11439.
Closes #25308
Signed-off-by: 1fanwang <[email protected]>1 parent 51e310c commit f2a4965
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
| 152 | + | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| |||
0 commit comments