This repository was archived by the owner on May 15, 2026. It is now read-only.
Commit 1976734
committed
feat: migrate Cerebras provider to AI SDK
- Rewrote cerebras.ts from 362 lines to ~70 lines using OpenAICompatibleHandler
- Uses @ai-sdk/openai-compatible with AI SDK streamText/generateText
- Preserved X-Cerebras-3rd-Party-Integration: roocode attribution header
- Updated tests to match AI SDK streaming behavior (tool-call events ignored)
- Removed manual fetch/SSE parsing, TagMatcher, tool schema stripping1 parent 4b1d78f commit 1976734
4 files changed
Lines changed: 468 additions & 516 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments