Skip to content

Commit 926e443

Browse files
AlemTuzlakjpr5
authored andcommitted
docs: update stream-collapse module comment to reflect content+toolCalls coexistence
1 parent 5529931 commit 926e443

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/stream-collapse.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
*
44
* Each function takes a raw streaming response body (SSE, NDJSON, or binary
55
* EventStream) and collapses it into a non-streaming fixture response
6-
* containing either `{ content }` or `{ toolCalls }`.
6+
* containing `{ content }`, `{ toolCalls }`, or both when the stream includes
7+
* text followed by tool calls.
78
*/
89

910
import { crc32 } from "node:zlib";

0 commit comments

Comments
 (0)