Skip to content

fix(platform): a provider's failed model listing shows English text on AI providers #5223

Closed

Description

@tale-code-bot

Problem

On Settings › AI providers, a provider whose model listing fails shows catalogError on its row and in the refresh report. catalogError is the raw error.message of the failed listing (services/platform/backend/domains/providers/routes.ts:255 at train 158c270b7), such as a fetch failure or the upstream answer.

Two coded failures read as localized sentences:

  • PROVIDER_CATALOG_NOT_JSON;
  • PROVIDER_CATALOG_NOT_FOUND.

The client does this in catalogFailureText (app/features/settings/providers/components/provider-definition-form.ts:125-147), and the codes come from catalogFailureCode (backend/core/lib/providers/catalog_fetch.ts:189-193), which codes only CatalogListingError. Every other listing failure reaches German and French admins as English or runtime text: unreachable, timed out, refused credentials, an upstream 5xx.

#4831 (task TALE-168) localizes the page's own read failures and the credential refusals, but leaves this per-provider text as it was.

Expected

  • catalogFailureCode also codes the other common listing failures: unreachable or timed out, refused credentials (401/403), an upstream 5xx.
  • catalogFailureText gives each code a catalog sentence in en, de and fr, plus de-CH where German has ß.
  • The upstream detail stays available as secondary text where it helps a diagnosis, never instead of the sentence.
  • Regression: a component test in de where a provider's failed listing shows the localized sentence on its row and in the refresh report.

Severity and owner

Activity

  1. added
    agent-ready
    on Nov 1, 2026
  2. added a commit that references this issue on Nov 1, 2026
    b6baaea
  3. added a commit that references this issue on Nov 1, 2026
    9bc3234
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-readybugservice: platform

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions