Use info color for assistant role indicator
This commit is contained in:
parent
53564fb269
commit
58664206cf
1 changed files with 1 additions and 3 deletions
|
@ -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| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue