Commit 4963390
fix(mac chat): strip gemma-4 reasoning-channel bleed (\nthought) from displayed answer
Cut the decoded text at the first channel marker (<|channel / <channel / \nthought
/ \nthink) so the chat shows only the natural-language answer. Applied to both
the full fused-engine chat (harness _gen_turn) and the lightweight AR chat.
Co-authored-by: FluffyAIcode <FluffyAIcode@users.noreply.github.com>1 parent f73f057 commit 4963390
2 files changed
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
195 | 201 | | |
196 | | - | |
| 202 | + | |
197 | 203 | | |
198 | 204 | | |
199 | 205 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
808 | 808 | | |
809 | 809 | | |
810 | 810 | | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
811 | 818 | | |
812 | 819 | | |
813 | 820 | | |
| |||
0 commit comments