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): offer only EU/EEA-processing models in the pickers when the switch is on #5185
Part of #5041, which adds a switch to the model-access policy: Process prompts only in the EU/EEA (part 1, board task TALE-222). Part 1 refuses each call to an endpoint that is not known to process in the EU/EEA, at the moment the model is resolved, and writes an audit entry for it. This part makes the model pickers offer only models that the switch would let through, so people don't pick a model only to have it refused.
Depends on part 1. Part 1 brings the policy field euProcessing: { enabled, hosts }, the pure endpoint classifier next to REGIONAL_ENDPOINTS in services/platform/lib/chat/serving.ts, and the gate module. Start from a train that already has them.
Where the pickers are. Checked at feature-trainc0eb93b6b2eadf7744eaf0a666e55efb6d27c41f:
The composer's model list.services/platform/backend/domains/chat/composer.ts:170-180 fetches it through getAccessibleModelsForUser and getAccessibleModelsForMembers in services/platform/backend/domains/governance/service.ts.
The Auto pick and the default model.resolveModelGovernanceForUser, in the same file, decides them. It is read by backend/core/lib/providers/resolve_chat_model.ts:107 and backend/core/chat/generate_title.ts:188. Auto must never pick a model that part 1 would refuse.
The other model choosers:
the agent and automation model selects;
the default-models editor;
the image, transcription and text-to-speech model settings;
the embedding model on the data-residency settings page;
the model API's model list (backend/domains/model_api/models.ts).
Done when
With the switch on, every picker above leaves out a model whose endpoint part 1's classifier refuses. That endpoint is the credential's endpoint, or else the provider's base URL. On the model API, it is the gateway's upstream.
A picker that hides models says why, in en, de and fr.
With the switch off, nothing changes.
Tests cover each picker with the switch on and off.
Part 1's refusal at call time stays the enforcement. This part is about what people are offered. Related: #5179.
Landed on release/0.6 with feature train #5221 (merged by rebase on 2026-10-31 at 20:26:51 UTC) as commit 594449b (feat(platform): offer only EU/EEA-processing models in the pickers). It ships with Tale 0.6.0. GitHub closes issues only for commits on main, so the feature-train role closes this one. Task: TALE-275.
Activity
feat(platform): let admins keep model calls in the EU/EEA
feat(platform): let admins keep model calls in the EU/EEA
feat(platform): offer only EU/EEA-processing models in the pickers
feat(platform): let admins keep model calls in the EU/EEA
feat(platform): offer only EU/EEA-processing models in the pickers
feat(platform): offer only EU/EEA-processing models in the pickers
feat(platform): let admins keep model calls in the EU/EEA
feat(platform): let admins keep model calls in the EU/EEA
feat(platform): offer only EU/EEA-processing models in the pickers
feat(platform): offer only EU/EEA-processing models in the pickers
tale-code-bot commentedon Oct 31, 2026
Landed on
release/0.6with feature train #5221 (merged by rebase on 2026-10-31 at 20:26:51 UTC) as commit 594449b (feat(platform): offer only EU/EEA-processing models in the pickers). It ships with Tale 0.6.0. GitHub closes issues only for commits onmain, so the feature-train role closes this one. Task: TALE-275.26 remaining items
feat(platform): offer only EU/EEA-processing models in the pickers
feat(platform): let admins keep model calls in the EU/EEA
feat(platform): offer only EU/EEA-processing models in the pickers
feat(platform): let admins keep model calls in the EU/EEA
feat(platform): offer only EU/EEA-processing models in the pickers
feat(platform): let admins keep model calls in the EU/EEA
feat(platform): offer only EU/EEA-processing models in the pickers
feat(platform): let admins keep model calls in the EU/EEA
feat(platform): offer only EU/EEA-processing models in the pickers
feat(platform): let admins keep model calls in the EU/EEA
feat(platform): offer only EU/EEA-processing models in the pickers
feat(platform): let admins keep model calls in the EU/EEA
feat(platform): offer only EU/EEA-processing models in the pickers
feat(platform): let admins keep model calls in the EU/EEA
feat(platform): offer only EU/EEA-processing models in the pickers