Support DeepSeek V4 Pro execution
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user