Restore model_selector_components to origin/main

Richard Feldman created

Change summary

crates/agent_ui/src/ui/model_selector_components.rs | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

Detailed changes

crates/agent_ui/src/ui/model_selector_components.rs 🔗

@@ -1,6 +1,11 @@
 use gpui::{Action, FocusHandle, prelude::*};
 use ui::{ElevationIndex, KeyBinding, ListItem, ListItemSpacing, Tooltip, prelude::*};
 
+enum ModelIcon {
+    Name(IconName),
+    Path(SharedString),
+}
+
 #[derive(IntoElement)]
 pub struct ModelSelectorHeader {
     title: SharedString,
@@ -35,11 +40,6 @@ impl RenderOnce for ModelSelectorHeader {
     }
 }
 
-enum ModelIcon {
-    Name(IconName),
-    Path(SharedString),
-}
-
 #[derive(IntoElement)]
 pub struct ModelSelectorListItem {
     index: usize,