feat: DeepSeek V4 Flash 0731 added
This commit is contained in:
@@ -325,17 +325,31 @@ mod tests {
|
||||
#[test]
|
||||
fn catalog_and_checksum_verification_are_explicit() {
|
||||
assert_eq!(ModelChoice::from_id("glm-5.2"), Some(ModelChoice::Glm52));
|
||||
assert_eq!(
|
||||
ModelChoice::from_id("deepseek-v4-flash-0731"),
|
||||
Some(ModelChoice::DeepSeekV4Flash0731)
|
||||
);
|
||||
assert!(ModelChoice::from_id("unknown").is_none());
|
||||
assert_eq!(
|
||||
ModelChoice::DeepSeekV4Flash.main_artifact().size,
|
||||
86_720_111_488
|
||||
);
|
||||
assert_eq!(ModelChoice::Glm52.main_artifact().size, 211_075_856_448);
|
||||
assert_eq!(
|
||||
ModelChoice::DeepSeekV4Flash0731.main_artifact().size,
|
||||
86_720_111_520
|
||||
);
|
||||
assert_eq!(
|
||||
ModelChoice::DeepSeekV4Flash.artifacts(true, true).count(),
|
||||
3
|
||||
);
|
||||
assert_eq!(ModelChoice::Glm52.artifacts(true, true).count(), 1);
|
||||
assert_eq!(
|
||||
ModelChoice::DeepSeekV4Flash0731
|
||||
.artifacts(true, true)
|
||||
.count(),
|
||||
1
|
||||
);
|
||||
|
||||
let id = SystemTime::now()
|
||||
.duration_since(UNIX_EPOCH)
|
||||
@@ -351,6 +365,11 @@ mod tests {
|
||||
engine.mtp.as_deref().and_then(Path::file_name),
|
||||
Some(std::ffi::OsStr::new(FLASH_DSPARK.file_name))
|
||||
);
|
||||
assert!(
|
||||
engine_artifacts(ModelChoice::DeepSeekV4Flash0731, true, true, &models_path)
|
||||
.mtp
|
||||
.is_none()
|
||||
);
|
||||
let empty = Artifact {
|
||||
label: "empty",
|
||||
file_name: "empty",
|
||||
|
||||
Reference in New Issue
Block a user