Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: only continue for handled output_item.done types in collapseOpen…
…AISSE
  • Loading branch information
erezcor committed Apr 2, 2026
commit ba517dffee707e89503a067d5cdb9bb1cf47c62b
2 changes: 1 addition & 1 deletion src/stream-collapse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ export function collapseOpenAISSE(body: string): CollapseResult {
const item = parsed.item as Record<string, unknown> | undefined;
if (item?.type === "web_search_call" && typeof item.query === "string") {
webSearchQueries.push(item.query);
continue;
}
continue;
}

// Responses API text content events
Expand Down