Commit 3fdfd4b
fix: omit default OpenAI image partials
Only send partial_images when explicitly configured so Images API streaming requests avoid unsupported parameter errors and extra partial image cost.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 5e49b80 commit 3fdfd4b
2 files changed
Lines changed: 14 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
468 | 468 | | |
469 | 469 | | |
470 | 470 | | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
| 471 | + | |
475 | 472 | | |
476 | 473 | | |
477 | | - | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
478 | 477 | | |
479 | 478 | | |
480 | 479 | | |
| |||
552 | 551 | | |
553 | 552 | | |
554 | 553 | | |
555 | | - | |
556 | | - | |
557 | | - | |
558 | | - | |
| 554 | + | |
559 | 555 | | |
560 | 556 | | |
561 | | - | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
562 | 560 | | |
563 | 561 | | |
564 | 562 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
77 | 80 | | |
78 | 81 | | |
79 | 82 | | |
| |||
0 commit comments