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")
|
let sender = ButtonLike::new("role")
|
||||||
.child(match message.role {
|
.child(match message.role {
|
||||||
Role::User => Label::new("You").color(Color::Default),
|
Role::User => Label::new("You").color(Color::Default),
|
||||||
Role::Assistant => {
|
Role::Assistant => Label::new("Assistant").color(Color::Info),
|
||||||
Label::new("Assistant").color(Color::Modified)
|
|
||||||
}
|
|
||||||
Role::System => Label::new("System").color(Color::Warning),
|
Role::System => Label::new("System").color(Color::Warning),
|
||||||
})
|
})
|
||||||
.tooltip(|cx| {
|
.tooltip(|cx| {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue