diff --git a/src/model/live.rs b/src/model/live.rs index c1889f3..afe5462 100644 --- a/src/model/live.rs +++ b/src/model/live.rs @@ -11,7 +11,7 @@ use std::time::{Duration, Instant}; /// The hosted models, in the order they are asked /// (`BaseAgent::REMOTE_MODEL_IDS`). Every one must honour a JSON schema. -pub const REMOTE_MODEL_IDS: [&str; 2] = ["mistralai/mistral-medium-3.1", "minimax/minimax-m3"]; +pub const REMOTE_MODEL_IDS: [&str; 2] = ["mistralai/mistral-medium-3-5", "minimax/minimax-m3"]; /// `BaseAgent::MAX_ATTEMPTS`. pub const MAX_ATTEMPTS: usize = 3; diff --git a/tests/model.rs b/tests/model.rs index da42e1a..19f9e95 100644 --- a/tests/model.rs +++ b/tests/model.rs @@ -423,7 +423,7 @@ fn a_narration_streams_and_leaves_its_receipts() { ); assert_eq!( rows(&game, "SELECT status, model, input_tokens, output_tokens, total_cost, message_id IS NOT NULL FROM ruby_llm_usages"), - vec![vec![json!("succeeded"), json!("mistralai/mistral-medium-3.1"), json!(20), json!(9), json!(0.0007), json!(1)]] + vec![vec![json!("succeeded"), json!("mistralai/mistral-medium-3-5"), json!(20), json!(9), json!(0.0007), json!(1)]] ); assert_eq!( agent.recorded().len(), @@ -536,7 +536,7 @@ fn a_refusal_asks_the_next_model_in_the_same_context() { assert_eq!(answer.text(), "You wait."); assert_eq!( live.transport().models_asked(), - ["mistralai/mistral-medium-3.1", "minimax/minimax-m3"] + ["mistralai/mistral-medium-3-5", "minimax/minimax-m3"] ); assert_eq!( live.transport().sent[0].2["messages"], @@ -1274,7 +1274,7 @@ fn a_relay_carries_the_players_token_to_the_relay_and_nothing_else() { assert_eq!( body, wire::chat_body( - "mistralai/mistral-medium-3.1", + "mistralai/mistral-medium-3-5", &Call::prompt("The player types: wait"), true )