mirror of
https://github.com/openai/codex.git
synced 2026-05-24 04:54:52 +00:00
model required
This commit is contained in:
@@ -245,7 +245,7 @@ mod tests {
|
||||
}],
|
||||
prompt: "add a red hat".to_string(),
|
||||
background: None,
|
||||
model: Some("gpt-image-1.5".to_string()),
|
||||
model: "gpt-image-1.5".to_string(),
|
||||
n: None,
|
||||
quality: None,
|
||||
size: None,
|
||||
|
||||
@@ -21,8 +21,7 @@ pub struct ImageEditRequest {
|
||||
pub prompt: String,
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub background: Option<ImageBackground>,
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub model: Option<String>,
|
||||
pub model: String,
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub n: Option<u64>,
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
|
||||
Reference in New Issue
Block a user