Allow editing Agent2 messages (#36155)

Release Notes:

- N/A

---------

Co-authored-by: Antonio Scandurra <me@as-cii.com>
Co-authored-by: Agus Zubiaga <agus@zed.dev>
This commit is contained in:
Conrad Irwin
2025-08-14 13:39:33 +00:00
committed by GitHub
co-authored by Antonio Scandurra Agus Zubiaga
parent ffac8c5128
commit e5402d5464
14 changed files with 956 additions and 621 deletions
+2 -2
View File
@@ -124,12 +124,12 @@ impl UserMessage {
}
UserMessageContent::Mention { uri, content } => {
match uri {
MentionUri::File(path) => {
MentionUri::File { abs_path, .. } => {
write!(
&mut symbol_context,
"\n{}",
MarkdownCodeBlock {
tag: &codeblock_tag(&path, None),
tag: &codeblock_tag(&abs_path, None),
text: &content.to_string(),
}
)