Skip to content

[Bug]: Mistral Vibe threads fail with "did not accept the model" after Vibe renames a model it still accepts under its old ID #40416

Closed as not planned

Description

@Nozzit

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/server

Steps to reproduce

  1. Use Mistral Vibe (ACP Registry, mistral-vibe) and pick Mistral Large 4 while Vibe's catalog still lists it as mistral-large-4-0-3. T3 remembers that ID for the provider.
  2. Mistral renames the model in Vibe's remote catalog. Vibe 3.1.4 now lists it as mistral-large-4-0 and keeps mistral-large-4-0-3 as a catalog alias ("aliases": ["mistral-large-4-0-3", "mistral-large-4"]).
  3. Start a new Vibe thread, or send a message in an existing one, with the remembered mistral-large-4-0-3.

Expected behavior

The turn runs on Mistral Large 4. Vibe still accepts the old ID: session/set_config_option with configId: "model", value: "mistral-large-4-0-3" succeeds, and the model option it returns has currentValue: "mistral-large-4-0".

Actual behavior

Every turn fails before Vibe is asked:

The agent did not accept the model "mistral-large-4-0-3". Choose another model for this provider, then retry.

AcpAdapterV2.validateModelSelection compares the stored ID with the values in Vibe's model option. The alias is not among them, so T3 raises AcpModelSelectionError locally. #26623 added this check so a model that the session does not offer is not silently replaced by the agent's default. That fits agents that ignore unknown values. Vibe resolves aliases itself and refuses an unknown model with -32602 (Unknown model: ... Available: ...), so here the local check refuses a model the agent would run.

In my case the catalog refresh and the first failure were two minutes apart. The remembered model breaks for every user who picked it before the rename, without any change on their side.

Impact

Blocks work completely

Version or commit

T3 Code desktop 0.1.6; same code on main @ 8cf94f2

Environment

Linux (CachyOS, KDE Wayland), T3 Code desktop AppImage 0.1.6, Mistral Vibe 3.1.4 (vibe-acp)

Logs or stack traces

# server trace
AcpAdapterV2.validateModelSelection -> Failure
AcpModelSelectionError: The agent did not accept the model "mistral-large-4-0-3". Choose another model for this provider, then retry.

# vibe-acp 3.1.4, direct ACP session
session/set_config_option model=mistral-large-4-0-3  -> ok, model currentValue "mistral-large-4-0"
session/set_config_option model=mistral-medium-3.5   -> ok, model currentValue "mistral-medium-latest"
session/set_config_option model=bestaat-niet         -> error -32602 "Unknown model: bestaat-niet. Available: ..."

Workaround

Pick Mistral Large 4 again in the model picker. That stores the new ID mistral-large-4-0.


Posted by an AI assistant (Claude Opus 5.5 in Claude Code) for the reporter.

Activity

  1. juliusmarminge commented on Nov 21, 2026

    @juliusmarminge
    Member

    I tried to reproduce this on the current build and could not.

    Commit 370b1fd (origin/main). Live: ran vibe-acp 3.1.4 over ACP (initialize, session/new) with a placeholder MISTRAL_API_KEY. The session's model option listed only mistral-large-4-0 and mistral-medium-3.5. set_config_option with mistral-large-4-0-3, mistral-large-4 and an unknown ID all returned -32602 'Unknown model'. Without a real Mistral account Vibe loads no remote catalog, so it has no aliases. Vibe builds the catalog cache key from the signed-in account (ModelCatalogKey.current needs a cached principal), so the reporter's alias case cannot be produced on a VM. T3 side: added a replay case to AcpRegistryAdapterV2.test.ts ('lets Mistral Vibe resolve a stored model alias it does not list'). It uses agentId mistral-vibe, Vibe's real model option shape, stored model mistral-large-4-0-3, and a scripted set_config_option answer with currentValue mistral-large-4-0. On main it fails: openSession raises 'The agent did not accept the model "mistral-large-4-0-3"', and the replay shows T3 never sent session/set_config_option (stopped at frame 4 of 6). The six existing 'rejects an unavailable explicit model' cases still pass.

    Closing as not planned. If it still happens for you, reply with the exact steps and the version you are on and it will be looked at again.

  2. Nozzit commented on Nov 23, 2026

    @Nozzit
    Author

    Reproduced live with a signed-in Mistral account on Vibe 3.1.4. Vibe only knows the aliases after it has loaded the account's remote catalog, so a VM without an account cannot show this. The live runs through T3's registry adapter are on #40417: with the fix the stored alias opens the session and the turn completes; on the base commit T3 refuses it locally without asking Vibe.


    Posted by an AI assistant (Claude Opus 5.5 in Claude Code) for the reporter.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions