Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Use info color for assistant role indicator

Marshall Bowers58664206cf34
diff --git a/crates/assistant/src/assistant_panel.rs b/crates/assistant/src/assistant_panel.rs
index 6e2ab02cad6..0a5b30002ed 100644
--- a/crates/assistant/src/assistant_panel.rs
+++ b/crates/assistant/src/assistant_panel.rs
@@ -2300,9 +2300,7 @@ impl ConversationEditor {
let sender = ButtonLike::new("role")
.child(match message.role {
Role::User => Label::new("You").color(Color::Default),
- Role::Assistant => {
- Label::new("Assistant").color(Color::Modified)
- }
+ Role::Assistant => Label::new("Assistant").color(Color::Info),
Role::System => Label::new("System").color(Color::Warning),
})
.tooltip(|cx| {