Skip to content

feat(platform): offer only EU/EEA-processing models in the pickers when the switch is on #5185

Closed

Description

@tale-code-bot

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-train c0eb93b6b2eadf7744eaf0a666e55efb6d27c41f:

  • 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.

Activity

  1. added
    priority: medium
    feat
    service: platform
    agent-ready
    on Oct 31, 2026
  2. added a commit that references this issue on Oct 31, 2026
    5435753
  3. tale-code-bot commented on Oct 31, 2026

    @tale-code-bot
    CollaboratorAuthor

    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.

  4. 26 remaining items

  5. added 11 commits that reference this issue on Nov 4, 2026
    12dc7f0
    dfcd1c1
    9b75e28
    c8aa51a
    6fd6cb2
    122738f
    760325e
    b697bb6
    cc14467
    4e0f1e4
    fcc04d4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-readyfeatpriority: mediumservice: platform

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions