add image generation content model

This commit is contained in:
Roy Han
2026-05-10 19:19:07 -07:00
parent 2abdeb34d5
commit 18d6bc2d2f
25 changed files with 2112 additions and 1 deletions
@@ -706,6 +706,13 @@ pub(super) fn handle_image_generation_end(
id: call_id.into(),
status: "completed".to_string(),
revised_prompt,
content: Some(codex_app_server_protocol::ImageGenerationContent::Inline {
mime_type: "image/png".to_string(),
data_base64: String::new(),
byte_length: 0,
width: None,
height: None,
}),
result: String::new(),
saved_path,
},