You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: use action.query for web_search_call items to match OpenAI API (#89)
## Summary
- `web_search_call` items in streaming and non-streaming Responses API
output used `query` directly on the item object, but the real OpenAI
Responses API nests it at `item.action.query`
- Updated `buildWebSearchStreamEvents` and `buildTextResponse` in
`responses.ts`
- Updated `collapseOpenAISSE` in `stream-collapse.ts` to read from
`item.action.query`
- Updated tests to match
- Added `reasoning?` and `webSearches?` to the Response Types docs table
## Test plan
- [x] All 2068 existing tests pass
0 commit comments