Commit 7fab628
committed
FIX: don't skip special tokens when enable_thinking is True
When thinking mode is enabled (enable_thinking=True), special tokens are
needed for the thinking/reasoning format. Set skip_special_tokens=False
in this case to preserve the special tokens.1 parent a41ad2b commit 7fab628
1 file changed
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1184 | 1184 | | |
1185 | 1185 | | |
1186 | 1186 | | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
1187 | 1211 | | |
1188 | 1212 | | |
1189 | 1213 | | |
| |||
0 commit comments