Skip to content

Commit 1cd1933

Browse files
arjun37602Arjun Balaji
andauthored
including images as part of chat history (#2333)
Co-authored-by: Arjun Balaji <[email protected]>
1 parent 6d9618e commit 1cd1933

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/chat-cli/src/cli/chat/message.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ impl UserMessage {
153153
/// [api_client::model::ConversationState].
154154
pub fn into_history_entry(self) -> UserInputMessage {
155155
UserInputMessage {
156-
images: None,
156+
images: self.images.clone(),
157157
content: self.prompt().unwrap_or_default().to_string(),
158158
user_input_message_context: Some(UserInputMessageContext {
159159
env_state: self.env_context.env_state,

0 commit comments

Comments
 (0)