Skip to content

feat: add EUrouter as AI provider#2468

Closed
DavidLoDico wants to merge 1 commit intoTypeCellOS:mainfrom
DavidLoDico:DavidLoDico/eurouter-ai-provider
Closed

feat: add EUrouter as AI provider#2468
DavidLoDico wants to merge 1 commit intoTypeCellOS:mainfrom
DavidLoDico:DavidLoDico/eurouter-ai-provider

Conversation

@DavidLoDico
Copy link

@DavidLoDico DavidLoDico commented Feb 18, 2026

Summary

  • Add EUrouter as an AI provider using the existing createOpenAICompatible pattern from @ai-sdk/openai-compatible
  • EUrouter is an EU-based GDPR-compliant AI gateway that routes to multiple providers (OpenAI, Anthropic, Google, etc.) through a single OpenAI-compatible API
  • No new dependencies required — reuses the existing @ai-sdk/openai-compatible package already used by albert-etalab

Changes

  • Model playground route (packages/xl-ai-server/src/routes/model-playground/index.ts): Add eurouter.chat provider with base URL https://api.eurouter.ai/api/v1
  • Playground model list (examples/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)
  • Environment config (packages/xl-ai-server/.env.example, packages/xl-ai/.env.example): Add EUROUTER_API_KEY
  • Test models (packages/xl-ai/src/testUtil/testAIModels.ts): Add EUrouter test model entry

Test plan

  • Set EUROUTER_API_KEY in .env and verify model playground can select and stream from EUrouter models
  • Verify existing providers still work (no regressions)
  • Existing tests pass

🤖 Generated with Claude Code

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>
@vercel
Copy link

vercel bot commented Feb 18, 2026

@DavidLoDico is attempting to deploy a commit to the TypeCell Team on Vercel.

A member of the Team first needs to authorize it.

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.

1 participant