Support DeepSeek V4 Pro execution

This commit is contained in:
Georg Bauer
2026-07-26 12:02:06 +02:00
parent 3c75b8f6c1
commit 1de954b579
4 changed files with 40 additions and 25 deletions

View File

@@ -372,8 +372,8 @@ pub(crate) struct CompactionOutput {
#[cfg(target_os = "macos")]
impl Generator {
pub(crate) fn open(settings: &EngineSettings, metrics: Arc<Metrics>) -> Result<Self, String> {
if settings.model != ModelChoice::DeepSeekV4Flash {
return Err("local generation currently supports DeepSeek V4 Flash only".into());
if settings.model == ModelChoice::Glm52 {
return Err("GLM 5.2 generation is not initialized by the DeepSeek executor".into());
}
if settings.speculative.dspark || settings.ssd.enabled || settings.steering.file.is_some() {
return Err(