mirror of
https://github.com/openai/codex.git
synced 2026-05-01 01:47:18 +00:00
Update image outputs to default to high detail (#18386)
Do not assume the default `detail`.
This commit is contained in:
@@ -1970,14 +1970,16 @@ image("data:image/png;base64,AAA");
|
||||
items[1],
|
||||
serde_json::json!({
|
||||
"type": "input_image",
|
||||
"image_url": "https://example.com/image.jpg"
|
||||
"image_url": "https://example.com/image.jpg",
|
||||
"detail": "high"
|
||||
}),
|
||||
);
|
||||
assert_eq!(
|
||||
items[2],
|
||||
serde_json::json!({
|
||||
"type": "input_image",
|
||||
"image_url": "data:image/png;base64,AAA"
|
||||
"image_url": "data:image/png;base64,AAA",
|
||||
"detail": "high"
|
||||
}),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user