Skip to content

feat(ai)!: migrate core to Vercel AI SDK#13

Merged
mcarvin8 merged 1 commit into
mainfrom
ai-sdk
Apr 21, 2026
Merged

feat(ai)!: migrate core to Vercel AI SDK#13
mcarvin8 merged 1 commit into
mainfrom
ai-sdk

Conversation

@mcarvin8
Copy link
Copy Markdown
Owner

Replace the openai dependency with ai + @ai-sdk/* providers and add env-driven dispatch for OpenAI, OpenAI-compatible, Anthropic, Google, Bedrock, Mistral, Cohere, Groq, xAI, and DeepSeek. Adds llmModelProvider injection hook, new LLM_PROVIDER env var, and provider SDKs as optionalDependencies.

BREAKING CHANGE: removes openAiClientProvider and OpenAiLikeClient from the public API; use llmModelProvider with a Vercel AI SDK LanguageModel instead.

Replace the `openai` dependency with `ai` + `@ai-sdk/*` providers and
add env-driven dispatch for OpenAI, OpenAI-compatible, Anthropic,
Google, Bedrock, Mistral, Cohere, Groq, xAI, and DeepSeek. Adds
`llmModelProvider` injection hook, new `LLM_PROVIDER` env var, and
provider SDKs as `optionalDependencies`.

BREAKING CHANGE: removes `openAiClientProvider` and `OpenAiLikeClient`
from the public API; use `llmModelProvider` with a Vercel AI SDK
`LanguageModel` instead.
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
src/ai/aiConstants.ts 100.00% <ø> (ø)
src/ai/aiSummary.ts 100.00% <100.00%> (ø)
src/ai/llmProviders.ts 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mcarvin8 mcarvin8 merged commit 90fb408 into main Apr 21, 2026
3 checks passed
@mcarvin8 mcarvin8 deleted the ai-sdk branch April 21, 2026 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants