Adds think, format and images to generate

This commit is contained in:
2025-12-28 14:56:40 +00:00
parent b2e7b7134e
commit 7251ac07bd
2 changed files with 55 additions and 0 deletions

View File

@@ -8,3 +8,18 @@ pub struct ModelDetails {
pub parameter_size: String,
pub quantization_level: String,
}
#[derive(Debug, Serialize, Deserialize)]
#[serde(untagged)]
pub enum Think {
Bool(bool),
Level(ThinkLevel),
}
#[derive(Debug, Serialize, Deserialize)]
#[serde(rename_all = "lowercase")]
pub enum ThinkLevel {
High,
Medium,
Low,
}