Commit a3c7f0e
committed
feat: enable reasoning content fallback and remove rejection
- Remove error handling that rejected reasoning content, allowing its use
- Add fallback logic to populate response content with ReasoningContent when primary content is empty
- Update comment to indicate support for reasoning models with a preference for Content first
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>1 parent e33583a commit a3c7f0e
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
| 179 | + | |
183 | 180 | | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| |||
0 commit comments