Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Update Mistral models context length to their recommended values (#45194)
Guilherme do Amaral Alves4b34adedd25c
diff --git a/crates/mistral/src/mistral.rs b/crates/mistral/src/mistral.rsindex eca4743d044..2fa8a2cedae 100644--- a/crates/mistral/src/mistral.rs+++ b/crates/mistral/src/mistral.rs@@ -155,15 +155,15 @@ impl Model {pub fn max_token_count(&self) -> u64 {match self {Self::CodestralLatest => 256000,- Self::MistralLargeLatest => 131000,+ Self::MistralLargeLatest => 256000,Self::MistralMediumLatest => 128000,Self::MistralSmallLatest => 32000,- Self::MagistralMediumLatest => 40000,- Self::MagistralSmallLatest => 40000,+ Self::MagistralMediumLatest => 128000,+ Self::MagistralSmallLatest => 128000,Self::OpenMistralNemo => 131000,Self::OpenCodestralMamba => 256000,- Self::DevstralMediumLatest => 128000,- Self::DevstralSmallLatest => 262144,+ Self::DevstralMediumLatest => 256000,+ Self::DevstralSmallLatest => 256000,Self::Pixtral12BLatest => 128000,Self::PixtralLargeLatest => 128000,Self::Custom { max_tokens, .. } => *max_tokens,