From f992cfdc7fd05c812630de5d6148cc263bdcc0ec Mon Sep 17 00:00:00 2001 From: Nate Butler Date: Mon, 12 Aug 2024 09:55:00 -0400 Subject: [PATCH] Update provider logos (#16115) - Updates provider logos for Anthropic, Google and Ollama - Increases the size of icons in the model selector Release Notes: - N/A --- assets/icons/ai_anthropic.svg | 11 +++++++++-- assets/icons/ai_google.svg | 2 +- assets/icons/ai_ollama.svg | 15 ++++++++++++--- crates/assistant/src/model_selector.rs | 2 +- 4 files changed, 23 insertions(+), 7 deletions(-) diff --git a/assets/icons/ai_anthropic.svg b/assets/icons/ai_anthropic.svg index b0705c2774..12d731fb0b 100644 --- a/assets/icons/ai_anthropic.svg +++ b/assets/icons/ai_anthropic.svg @@ -1,4 +1,11 @@ - - + + + + + + + + + diff --git a/assets/icons/ai_google.svg b/assets/icons/ai_google.svg index 953e585cb1..de28cf82cb 100644 --- a/assets/icons/ai_google.svg +++ b/assets/icons/ai_google.svg @@ -1,3 +1,3 @@ - + diff --git a/assets/icons/ai_ollama.svg b/assets/icons/ai_ollama.svg index b28f3788e8..d433df3981 100644 --- a/assets/icons/ai_ollama.svg +++ b/assets/icons/ai_ollama.svg @@ -1,5 +1,14 @@ - - - + + + + + + + + + + + + diff --git a/crates/assistant/src/model_selector.rs b/crates/assistant/src/model_selector.rs index c64660db8a..7527c00f0c 100644 --- a/crates/assistant/src/model_selector.rs +++ b/crates/assistant/src/model_selector.rs @@ -158,7 +158,7 @@ impl PickerDelegate for ModelPickerDelegate { div().pr_1().child( Icon::new(model_info.provider_icon) .color(Color::Muted) - .size(IconSize::XSmall), + .size(IconSize::Medium), ), ) .child(