Repository navigation
Ask Mistral Medium 3.5 first, now that 3.1 has left OpenRouter - #104
Merged
Merged
Conversation
mistralai/mistral-medium-3.1 has no OpenRouter endpoints and is gone from its model list, so every hosted call fell through to minimax/minimax-m3. OpenRouter lists mistralai/mistral-medium-3-5 as the successor; its one endpoint advertises response_format and structured_outputs. REMOTE_MODEL_IDS mirrors BaseAgent::REMOTE_MODEL_IDS, which the game changes in the same step. The wire-format tests that pass a model name of their own keep the RubyLLM-captured bodies they compare against.
calebl
added a commit
to renderedstep/server
that referenced
this pull request
Dec 4, 2026
No engine source changed between the two pins.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
mistralai/mistral-medium-3.1has no OpenRouter endpoints left and is gone from OpenRouter's public model list (seen 2026-12-04). So every hosted call fell through tominimax/minimax-m3, the model that refuses prompts mistral used to write.OpenRouter lists
mistralai/mistral-medium-3-5(Mistral Medium 3.5) as the successor, at $1.50 / $7.50 per million input / output tokens. Its one endpoint (Mistral) advertises bothresponse_formatandstructured_outputs(fromGET /api/v1/models/mistralai/mistral-medium-3-5/endpoints, the free public list).What changes
REMOTE_MODEL_IDSinsrc/model/live.rsnow asksmistralai/mistral-medium-3-5first.minimax/minimax-m3stays second.tests/model.rs: the three tests that read the rotation (the model a narration's receipt records, the order a refusal rotates through, and the body a relay carries) expect the new id.The wire-format tests that pass in a model name of their own (
a_prose_call_goes_as_rubyllm_sent_itand thewire.rsunit test) still compare against the bodies captured from RubyLLM intests/fixtures/rubyllm_wire.json, so they keep the name those bodies were captured with.No prompt or other text a model reads changes.
Paired change
renderedstep/server mirrors this list in
BaseAgent::REMOTE_MODEL_IDS. Its relay only forwards models on that list, so the two have to move together. The server PR pins this branch's head and will be re-pinned to this PR's merge commit once this merges.Checks run locally
cargo fmt --check,cargo clippy --workspace --all-targets --locked -- -D warnings,cargo test --workspace --locked: all pass.parity --check parity: 112 of 116 agree, with output byte-identical to the unchanged base (3558baa). The 4 that don't agree need the local reader, which isn't running here.fight --check sim: 10 of 10 agree.No paid model call was made.