format
Project CI / Frontend tests (pull_request) Failing after 20s
Project CI / Native shell tests (pull_request) Failing after 20s
Project CI / Repository checks (pull_request) Failing after 20s
Project CI / Backend tests (pull_request) Failing after 20s

This commit is contained in:
2026-07-22 11:15:05 +08:00
parent 8c85b2f8be
commit b11631ce95
@@ -158,8 +158,9 @@ pub async fn editor_agent_message(
if !attachments.is_empty() {
let mut attachment_info = String::new();
attachment_info.push_str("user added these image ids to context: ");
for (i,attachment) in attachments.iter().enumerate() {
attachment_info.push_str(&format!("[{i}]: {}, ", attachment.clone().into_image_id()));
for (i, attachment) in attachments.iter().enumerate() {
attachment_info
.push_str(&format!("[{i}]: {}, ", attachment.clone().into_image_id()));
}
document.messages.push(EditorAgentMessage {
id: document.messages.len(),