Commit 27063ce
committed
fix(openai): avoid JSON mode for OpenAI endpoint; use plain text to prevent 400; maintain streaming SSE without Accept header
1 parent 8c49a84 commit 27063ce
2 files changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
286 | | - | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
287 | 289 | | |
288 | 290 | | |
289 | 291 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1749 | 1749 | | |
1750 | 1750 | | |
1751 | 1751 | | |
| 1752 | + | |
1752 | 1753 | | |
1753 | 1754 | | |
1754 | 1755 | | |
1755 | 1756 | | |
1756 | 1757 | | |
1757 | 1758 | | |
1758 | | - | |
| 1759 | + | |
1759 | 1760 | | |
1760 | 1761 | | |
1761 | 1762 | | |
| |||
2265 | 2266 | | |
2266 | 2267 | | |
2267 | 2268 | | |
| 2269 | + | |
2268 | 2270 | | |
2269 | 2271 | | |
2270 | 2272 | | |
2271 | 2273 | | |
2272 | 2274 | | |
2273 | 2275 | | |
2274 | | - | |
| 2276 | + | |
2275 | 2277 | | |
2276 | 2278 | | |
2277 | 2279 | | |
| |||
0 commit comments