This repository was archived by the owner on May 15, 2026. It is now read-only.
Commit c9ea6ba
committed
feat: migrate Cerebras provider to @ai-sdk/cerebras
- Rewrote cerebras.ts from 362 lines to ~170 lines using @ai-sdk/cerebras
- Uses createCerebras from the dedicated Cerebras AI SDK package
- Uses streamText/generateText from 'ai' package
- Preserved X-Cerebras-3rd-Party-Integration: roocode attribution header
- Updated tests to mock @ai-sdk/cerebras
- Removed manual fetch/SSE parsing, TagMatcher, tool schema stripping1 parent 4b1d78f commit c9ea6ba
4 files changed
Lines changed: 583 additions & 472 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments