Commit 2d09a92
root
fix(openclaw): strip <think/> tags from assistant messages
DeepSeek-style reasoning models emit <think…>…</think⟩ blocks that
confuse downstream parsing and trigger error-retry loops, eventually
causing timeouts. Strip these tags early in the capture pipeline.
Closes #12681 parent 2baf35d commit 2d09a92
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| |||
148 | 149 | | |
149 | 150 | | |
150 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
151 | 159 | | |
152 | 160 | | |
153 | 161 | | |
| |||
0 commit comments