From 03a05d14eaba8f9fb089a4f13c00ccc02e9c581c Mon Sep 17 00:00:00 2001 From: Richard Feldman Date: Thu, 18 Dec 2025 20:00:13 -0500 Subject: [PATCH] Restore model_selector_components to origin/main --- crates/agent_ui/src/ui/model_selector_components.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/crates/agent_ui/src/ui/model_selector_components.rs b/crates/agent_ui/src/ui/model_selector_components.rs index 0556bacba29884643200297118cb644583f72053..beb0c13d761aa9e7e41c2ac4e35a8cfcc7e8d869 100644 --- a/crates/agent_ui/src/ui/model_selector_components.rs +++ b/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,