Commit 2d337a3
committed
fix: Address remaining Copilot review comments
- Add batch_size validation (must be >= 1)
- Handle OMIT sentinel properly in both v1 and v2 clients
- Remove images parameter from v2 embed_stream (text-only support)
- Document that embed_stream is for texts only, use embed() for images
All tests passing (5/6, 1 skipped requires API key)1 parent 8ef4bdc commit 2d337a3
2 files changed
Lines changed: 27 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1190 | 1190 | | |
1191 | 1191 | | |
1192 | 1192 | | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
1193 | 1200 | | |
1194 | 1201 | | |
1195 | | - | |
| 1202 | + | |
1196 | 1203 | | |
1197 | | - | |
| 1204 | + | |
1198 | 1205 | | |
1199 | | - | |
| 1206 | + | |
1200 | 1207 | | |
1201 | | - | |
| 1208 | + | |
1202 | 1209 | | |
1203 | 1210 | | |
1204 | 1211 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
498 | 498 | | |
499 | 499 | | |
500 | 500 | | |
501 | | - | |
502 | 501 | | |
503 | 502 | | |
504 | 503 | | |
| |||
508 | 507 | | |
509 | 508 | | |
510 | 509 | | |
511 | | - | |
| 510 | + | |
512 | 511 | | |
513 | 512 | | |
514 | 513 | | |
515 | 514 | | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
516 | 518 | | |
517 | 519 | | |
518 | 520 | | |
| |||
570 | 572 | | |
571 | 573 | | |
572 | 574 | | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
573 | 582 | | |
574 | 583 | | |
575 | | - | |
| 584 | + | |
576 | 585 | | |
577 | | - | |
| 586 | + | |
578 | 587 | | |
579 | | - | |
| 588 | + | |
580 | 589 | | |
581 | | - | |
| 590 | + | |
582 | 591 | | |
583 | 592 | | |
584 | 593 | | |
585 | | - | |
| 594 | + | |
586 | 595 | | |
587 | 596 | | |
588 | 597 | | |
589 | 598 | | |
590 | 599 | | |
591 | | - | |
592 | 600 | | |
593 | 601 | | |
594 | 602 | | |
| |||
0 commit comments