Rename Qwen model label to match other models
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f00ffceb40
commit
cea8fc6f7c
4 files changed
+5
-5
No files matched your search
+1
-1
@@ -948,7 +948,7 @@ fn model_name(value: u8) -> &'static str {
|
|||||||
3 => "GLM 5.2",
|
3 => "GLM 5.2",
|
||||||
4 => "DeepSeek V4 Flash 0731",
|
4 => "DeepSeek V4 Flash 0731",
|
||||||
5 => "GLM 5.3 Flash Q2",
|
5 => "GLM 5.3 Flash Q2",
|
||||||
6 => "Qwen3.8 Flash Next Bare Speed",
|
6 => "Qwen 3.8 Flash Next",
|
||||||
_ => "No model loaded",
|
_ => "No model loaded",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -400,7 +400,7 @@ impl fmt::Display for ModelChoice {
|
|||||||
Self::DeepSeekV4Pro => "DeepSeek V4 Pro 0813",
|
Self::DeepSeekV4Pro => "DeepSeek V4 Pro 0813",
|
||||||
Self::Glm52 => "GLM 5.2",
|
Self::Glm52 => "GLM 5.2",
|
||||||
Self::Glm53Flash => "GLM 5.3 Flash Q2",
|
Self::Glm53Flash => "GLM 5.3 Flash Q2",
|
||||||
Self::Qwen38FlashNext => "Qwen3.8 Flash Next Bare Speed",
|
Self::Qwen38FlashNext => "Qwen 3.8 Flash Next",
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-2
@@ -10,7 +10,7 @@ use std::path::{Path, PathBuf};
|
|||||||
use std::sync::OnceLock;
|
use std::sync::OnceLock;
|
||||||
use std::sync::atomic::{AtomicBool, AtomicU64, Ordering};
|
use std::sync::atomic::{AtomicBool, AtomicU64, Ordering};
|
||||||
|
|
||||||
pub(super) const LABEL: &str = "Qwen3.8 Flash Next Bare Speed artifact set";
|
pub(super) const LABEL: &str = "Qwen 3.8 Flash Next model";
|
||||||
pub(super) const REPOSITORY: &str = "Youssofal/Qwen3.8-Flash-Next-MTPLX-Bare-Speed";
|
pub(super) const REPOSITORY: &str = "Youssofal/Qwen3.8-Flash-Next-MTPLX-Bare-Speed";
|
||||||
pub(super) const REVISION: &str = "74559cdf34fbfc0b593de72d17e93f37fd4f9ea7";
|
pub(super) const REVISION: &str = "74559cdf34fbfc0b593de72d17e93f37fd4f9ea7";
|
||||||
const MANIFEST_SHA256: &str = "6f1172de47fa30b9602e13fc7ad14e578a813bb5b1fab8f0ef320041aac6c19a";
|
const MANIFEST_SHA256: &str = "6f1172de47fa30b9602e13fc7ad14e578a813bb5b1fab8f0ef320041aac6c19a";
|
||||||
@@ -74,7 +74,7 @@ pub(super) fn selected(id: ManagedArtifactId) -> &'static [Artifact] {
|
|||||||
pub(super) fn label(id: ManagedArtifactId) -> &'static str {
|
pub(super) fn label(id: ManagedArtifactId) -> &'static str {
|
||||||
match id {
|
match id {
|
||||||
ManagedArtifactId::Qwen38FlashNext => LABEL,
|
ManagedArtifactId::Qwen38FlashNext => LABEL,
|
||||||
ManagedArtifactId::Qwen38FlashNextVision => "Qwen3.8 Flash Next vision encoder",
|
ManagedArtifactId::Qwen38FlashNextVision => "Qwen 3.8 Flash Next vision encoder",
|
||||||
_ => unreachable!("not a Qwen artifact set"),
|
_ => unreachable!("not a Qwen artifact set"),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -52,7 +52,7 @@ impl SpeculativePreferences {
|
|||||||
return Err("Integrated MTP is unavailable for the selected model.".into());
|
return Err("Integrated MTP is unavailable for the selected model.".into());
|
||||||
}
|
}
|
||||||
if self.keep_vision_loaded && !model.supports_vision() {
|
if self.keep_vision_loaded && !model.supports_vision() {
|
||||||
return Err("Persistent vision weights are available only for GLM 5.3 Flash and Qwen3.8 Flash Next.".into());
|
return Err("Persistent vision weights are available only for GLM 5.3 Flash and Qwen 3.8 Flash Next.".into());
|
||||||
}
|
}
|
||||||
if self.dspark_enabled && !model.supports_dspark() {
|
if self.dspark_enabled && !model.supports_dspark() {
|
||||||
return Err("DSpark is not available for the selected model.".into());
|
return Err("DSpark is not available for the selected model.".into());
|
||||||
|
|||||||
Reference in new issue
Block a user