Skip to content

Commit a635ca1

Browse files
nits--
1 parent f530180 commit a635ca1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CLAUDE.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,13 @@ These converters handle content types, tool calls, and format-specific features.
137137
## Streaming Architecture
138138

139139
**ReusableReadableStream** (`src/lib/reusable-stream.ts`)
140+
140141
- Caches stream events to enable multiple independent consumers
141142
- Critical for allowing parallel consumption patterns (text + tools + reasoning)
142143
- Handles both SSE and standard ReadableStream
143144

144145
**Stream Transformers** (`src/lib/stream-transformers.ts`)
146+
145147
- Extract specific data from response streams
146148
- `extractTextDeltas()`, `extractReasoningDeltas()`, `extractToolDeltas()`
147149
- Build higher-level streams for different consumption patterns

0 commit comments

Comments
 (0)