Adapters exports - Model adapters (Claude, OpenAI, Gemini, Ollama) Split from index.ts for file size compliance (Issue #285)
Takes chunks from a stream until a predicate returns true.
The source stream
Function that returns true to stop taking
Options including whether to include the matching chunk
Stream of chunks up to (and optionally including) the match
Adapters exports - Model adapters (Claude, OpenAI, Gemini, Ollama) Split from index.ts for file size compliance (Issue #285)