Skip to content

bug: selectable model catalog is stale: Claude Sonnet 5.5, Haiku 5.5 and Fable 5.2 not selectable anywhere, and the base image's Claude Code (2.1.281) refuses them #4528

Open

Description

@jordanallenlewis

Describe the bug
The model catalog was last synced on 2026-09-23 (#2987). Since then Anthropic shipped three models that Trinity can't select:

model id Claude Code release that added it
Claude Sonnet 5.5 claude-sonnet-5-5 2.1.284
Claude Haiku 5.5 claude-haiku-5-5 2.1.293
Claude Fable 5.2 claude-fable-5-2 2.1.321

Same class as #2726 and #2987: none of the three is in the operator picker, the admin default dropdown or the Workspace composer, and PUT /api/agents/{name}/public-channel-model answers 422 for each.

There is a second half this time. docker/base-image/Dockerfile pins CLAUDE_CODE_VERSION=2.1.281, which predates all three. On that CLI:

  • the sonnet, haiku and fable aliases resolve to Sonnet 5, Haiku 4.5 and Fable 5.1, so an agent configured as sonnet "for the latest Sonnet" silently runs the previous one;
  • the full ids are refused (unrecognized_model) before any token is spent, so typing claude-sonnet-5-5 as a free-text model fails every run.

To Reproduce

  1. On dev (e8540dc), open an agent's Model Selection, a schedule's Model picker, or the Workspace composer: no Sonnet 5.5, Haiku 5.5 or Fable 5.2.
  2. PUT /api/agents/<name>/public-channel-model {"model": "claude-sonnet-5-5"} → 422.
  3. In an agent built from the current base image: claude --version → 2.1.281; a task with model claude-sonnet-5-5 fails as model_unsupported.

Expected behavior
The three current models are selectable everywhere the catalog feeds. The base image runs a Claude Code new enough that both the ids and the aliases reach them.

Environment:

  • Trinity version: dev @ e8540dc (also seen on a self-hosted 1.0.0 install)
  • OS: Debian 13 (trixie)
  • Docker version: 29.9.3

Additional context
To work around this on my self-hosted install, I rebuilt the agent base image on Claude Code 2.1.319 on 2026-11-07. It's been on 2.1.322 since 2026-11-12. With either version, sonnet resolves to claude-sonnet-5-5. I have a fix ready that follows #2988's shape: catalog entries, min_claude_code, the pin bump and tests. The only red test is ent#1093's _CLI_VERIFIED guard, which asks for a telemetry re-capture before the pin moves. Would you rather run that capture on your side, or have me include it in the PR? Happy to do either. I've already been through the changelog entries between 2.1.282 and 2.1.322 for that checklist.

Activity

  1. dolho commented on Nov 18, 2026

    @dolho
    Contributor

    /claim

  2. added
    status-in-progress
    on Nov 18, 2026
  3. github-actions commented on Nov 18, 2026

    @github-actions

    Claimed by @dolho. Label status-in-progress added.

    Next steps:

    1. Create branch: feature/4528-<short-slug>
    2. Implement the feature
    3. Open a PR with Fixes #4528
  4. added
    type-bug
    priority-p2
    theme-devex
    complexity-medium
    on Nov 18, 2026
  5. added a commit that references this issue on Nov 18, 2026
  6. added
    status-in-dev
    and removed
    status-in-progress
    on Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

complexity-mediumpriority-p2status-in-devtheme-devextype-bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions