Commit a04ba6e
authored
test(openai-agents): Set streaming header when library uses
A new `openai` function is called in version 0.10.3 of `openai-agents`, which sets a header in the `httpx.Request` object used to call a model. Add the header to the `httpx.Request` object to mirror the `httpx.Request` object constructed in the call paths of `openai-agents`.with_streaming_response() (#5583)1 parent add1f75 commit a04ba6e
1 file changed
+18
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1425 | 1425 | | |
1426 | 1426 | | |
1427 | 1427 | | |
| 1428 | + | |
| 1429 | + | |
| 1430 | + | |
| 1431 | + | |
| 1432 | + | |
| 1433 | + | |
| 1434 | + | |
| 1435 | + | |
| 1436 | + | |
1428 | 1437 | | |
1429 | 1438 | | |
1430 | 1439 | | |
| |||
3178 | 3187 | | |
3179 | 3188 | | |
3180 | 3189 | | |
| 3190 | + | |
| 3191 | + | |
| 3192 | + | |
| 3193 | + | |
| 3194 | + | |
| 3195 | + | |
| 3196 | + | |
| 3197 | + | |
| 3198 | + | |
3181 | 3199 | | |
3182 | 3200 | | |
3183 | 3201 | | |
| |||
0 commit comments