You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(platform): let admins restrict model calls to endpoints that process in the EU/EEA #5041
A pilot organization requires prompts to be processed in the EU/EEA. They found that a model whose only provider is hosted outside the EU (an OpenRouter model served by a single provider in the US) answered normally. Tale shows where a reply ran (#4493): services/platform/lib/chat/serving.ts:62 maps eu.openrouter.ai, eu.api.openai.com, api.eu.mistral.ai and their US counterparts for the message info dialog (app/features/chat/components/message-info-dialog.tsx:92). Nothing refuses a call that would leave the region, though. The model-access policy allowlists models, not regions.
Proposed
A governance switch, either in the model-access policy or as its own policy: Process prompts only in the EU/EEA. When it is on:
only endpoints known to process in the region are callable: the regional endpoints already listed, Azure deployments in EU regions, and custom providers that an admin marks as EU-processing;
every other endpoint is refused with a clear message and hidden from the model pickers.
It applies to every model call: chat, tasks, automations, the model API, embeddings, image generation, transcription, and coding-agent traffic through the sandbox LLM gateway.
OpenRouter is allowed only through eu.openrouter.ai (in-region routing).
The message info dialog keeps showing the region of each reply (this exists today). The audit log records refusals.
Docs: a data residency guide for model processing.
Done when
With the switch on, a call to a non-EU endpoint is refused before any prompt bytes leave, and every surface says why.
The model pickers only offer compliant models.
Tests cover each surface listed above.
Scope for parallel work
This touches model resolution and serving (lib/chat/serving.ts, provider and model selection), governance, and the model pickers. It is independent of the other issues from this pilot. It can be split by surface once the policy shape is set.
This issue is split into parts. Board task TALE-222 works part 1. Its plan is on the task.
The switch and its enforcement (TALE-222). It adds euProcessing: { enabled, hosts } to the model-access policy and classifies endpoints. Calls to non-EU endpoints are refused, and each refusal is audited, at model resolution for chat, tasks, automations, the model API, embeddings, image generation, transcription and text-to-speech. Its squash message closes this issue.
Activity
tale-code-bot commentedon Oct 31, 2026
This issue is split into parts. Board task TALE-222 works part 1. Its plan is on the task.
euProcessing: { enabled, hosts }to the model-access policy and classifies endpoints. Calls to non-EU endpoints are refused, and each refusal is audited, at model resolution for chat, tasks, automations, the model API, embeddings, image generation, transcription and text-to-speech. Its squash message closes this issue.Checked at
feature-trainc0eb93b6b2eadf7744eaf0a666e55efb6d27c41f.feat(shared): add the EU/EEA processing switch to model access
feat(platform): add the gate that keeps model calls in the EU/EEA
feat(platform): switch the EU/EEA processing rule in model access
feat(shared): add the EU/EEA processing switch to model access
feat(platform): add the gate that keeps model calls in the EU/EEA
feat(platform): switch the EU/EEA processing rule in model access
feat(platform): let admins keep model calls in the EU/EEA
feat(platform): let admins keep model calls in the EU/EEA
feat(platform): let admins keep model calls in the EU/EEA
9 remaining items
feat(platform): let admins keep model calls in the EU/EEA
feat(platform): let admins keep model calls in the EU/EEA
feat(platform): let admins keep model calls in the EU/EEA
feat(platform): let admins keep model calls in the EU/EEA
feat(platform): let admins keep model calls in the EU/EEA
feat(platform): let admins keep model calls in the EU/EEA
feat(platform): let admins keep model calls in the EU/EEA
feat(platform): let admins keep model calls in the EU/EEA
feat(platform): let admins keep model calls in the EU/EEA
feat(platform): let admins keep model calls in the EU/EEA
feat(platform): let admins keep model calls in the EU/EEA
feat(platform): let admins keep model calls in the EU/EEA
feat(platform): let admins keep model calls in the EU/EEA
feat(platform): let admins keep model calls in the EU/EEA
feat(platform): let admins keep model calls in the EU/EEA