feat: add EUrouter as AI provider#2468
Closed
DavidLoDico wants to merge 1 commit intoTypeCellOS:mainfrom
Closed
Conversation
Add EUrouter (eurouter.ai) as an OpenAI-compatible AI provider for EU-based GDPR-compliant model routing. Uses the existing createOpenAICompatible pattern from @ai-sdk/openai-compatible. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
@DavidLoDico is attempting to deploy a commit to the TypeCell Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
createOpenAICompatiblepattern from@ai-sdk/openai-compatible@ai-sdk/openai-compatiblepackage already used by albert-etalabChanges
packages/xl-ai-server/src/routes/model-playground/index.ts): Addeurouter.chatprovider with base URLhttps://api.eurouter.ai/api/v1examples/09-ai/02-playground/src/data/aimodels.ts): Add representative EUrouter models (openai/gpt-4o,anthropic/claude-sonnet-4-5,google/gemini-2.5-pro)packages/xl-ai-server/.env.example,packages/xl-ai/.env.example): AddEUROUTER_API_KEYpackages/xl-ai/src/testUtil/testAIModels.ts): Add EUrouter test model entryTest plan
EUROUTER_API_KEYin.envand verify model playground can select and stream from EUrouter models🤖 Generated with Claude Code