Commit 63e4616
authored
fix(api): handle omission markers in queued WebSocket events (openai#3944)
## Summary
Fixes serialization errors when WebSocket events containing `omit` or
`not_given` are queued before the connection opens.
## Changes
- Support omission markers in dictionary events queued by synchronous
and asynchronous WebSocket connection managers.
Co-authored-by: marcuswood-oai <323319819+marcuswood-oai@users.noreply.github.com>1 parent d12d60f commit 63e4616
7 files changed
Lines changed: 16 additions & 16 deletions
File tree
- src/openai/resources
- beta/responses
- live
- realtime
- responses
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4561 | 4561 | | |
4562 | 4562 | | |
4563 | 4563 | | |
4564 | | - | |
| 4564 | + | |
4565 | 4565 | | |
4566 | 4566 | | |
4567 | 4567 | | |
| |||
5047 | 5047 | | |
5048 | 5048 | | |
5049 | 5049 | | |
5050 | | - | |
| 5050 | + | |
5051 | 5051 | | |
5052 | 5052 | | |
5053 | 5053 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
465 | 465 | | |
466 | 466 | | |
467 | 467 | | |
468 | | - | |
| 468 | + | |
469 | 469 | | |
470 | 470 | | |
471 | 471 | | |
| |||
952 | 952 | | |
953 | 953 | | |
954 | 954 | | |
955 | | - | |
| 955 | + | |
956 | 956 | | |
957 | 957 | | |
958 | 958 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
684 | 684 | | |
685 | 685 | | |
686 | 686 | | |
687 | | - | |
| 687 | + | |
688 | 688 | | |
689 | 689 | | |
690 | 690 | | |
| |||
1166 | 1166 | | |
1167 | 1167 | | |
1168 | 1168 | | |
1169 | | - | |
| 1169 | + | |
1170 | 1170 | | |
1171 | 1171 | | |
1172 | 1172 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
472 | 472 | | |
473 | 473 | | |
474 | 474 | | |
475 | | - | |
| 475 | + | |
476 | 476 | | |
477 | 477 | | |
478 | 478 | | |
| |||
964 | 964 | | |
965 | 965 | | |
966 | 966 | | |
967 | | - | |
| 967 | + | |
968 | 968 | | |
969 | 969 | | |
970 | 970 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
627 | 627 | | |
628 | 628 | | |
629 | 629 | | |
630 | | - | |
| 630 | + | |
631 | 631 | | |
632 | 632 | | |
633 | 633 | | |
| |||
1138 | 1138 | | |
1139 | 1139 | | |
1140 | 1140 | | |
1141 | | - | |
| 1141 | + | |
1142 | 1142 | | |
1143 | 1143 | | |
1144 | 1144 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4408 | 4408 | | |
4409 | 4409 | | |
4410 | 4410 | | |
4411 | | - | |
| 4411 | + | |
4412 | 4412 | | |
4413 | 4413 | | |
4414 | 4414 | | |
| |||
4906 | 4906 | | |
4907 | 4907 | | |
4908 | 4908 | | |
4909 | | - | |
| 4909 | + | |
4910 | 4910 | | |
4911 | 4911 | | |
4912 | 4912 | | |
| |||
0 commit comments