Added images to UserMessageEvent (#3400)

This PR adds an `images` field to the existing `UserMessageEvent` so we
can encode zero or more images associated with a user message. This
allows images to be restored when conversations are restored.
This commit is contained in:
Eric Traut
2025-09-10 10:18:43 -07:00
committed by GitHub
parent 45bd5ca4b9
commit 39db113cc9
3 changed files with 95 additions and 23 deletions

View File

@@ -144,6 +144,7 @@ fn resumed_initial_messages_render_history() {
EventMsg::UserMessage(UserMessageEvent {
message: "hello from user".to_string(),
kind: Some(InputMessageKind::Plain),
images: None,
}),
EventMsg::AgentMessage(AgentMessageEvent {
message: "assistant reply".to_string(),