ZIm/crates/assistant2/src
Marshall Bowers 9143fd2924
language_model_selector: Don't recreate the Picker view each render (#21939)
While working on Assistant2, I noticed that the `LanguageModelSelector`
was recreating its `Picker` view on every single render.

This PR makes it so we create the view once and hold onto it in the
parent view.

Release Notes:

- N/A
2024-12-12 17:08:48 -05:00
..
context_picker assistant2: Add initial support for attaching file context (#21934) 2024-12-12 15:30:17 -05:00
ui assistant2: Allow removing individual context (#21868) 2024-12-11 12:51:05 -05:00
active_thread.rs assistant2: Sketch in sending file context to model (#21829) 2024-12-10 16:35:53 -05:00
assistant.rs Inline terminal assistant v2 (#21888) 2024-12-12 11:06:09 -05:00
assistant_panel.rs assistant2: Add initial support for attaching file context (#21934) 2024-12-12 15:30:17 -05:00
assistant_settings.rs Inline assistant v2 (#21828) 2024-12-11 14:32:30 -05:00
context.rs assistant2: Allow removing individual context (#21868) 2024-12-11 12:51:05 -05:00
context_picker.rs assistant2: Add initial support for attaching file context (#21934) 2024-12-12 15:30:17 -05:00
inline_assistant.rs language_model_selector: Don't recreate the Picker view each render (#21939) 2024-12-12 17:08:48 -05:00
message_editor.rs language_model_selector: Don't recreate the Picker view each render (#21939) 2024-12-12 17:08:48 -05:00
prompts.rs Inline terminal assistant v2 (#21888) 2024-12-12 11:06:09 -05:00
streaming_diff.rs Inline assistant v2 (#21828) 2024-12-11 14:32:30 -05:00
terminal_inline_assistant.rs language_model_selector: Don't recreate the Picker view each render (#21939) 2024-12-12 17:08:48 -05:00
thread.rs assistant2: Sketch in sending file context to model (#21829) 2024-12-10 16:35:53 -05:00
thread_history.rs assistant2: Add ability to delete past threads (#21607) 2024-12-05 15:57:35 -05:00
thread_store.rs assistant2: Sketch in sending file context to model (#21829) 2024-12-10 16:35:53 -05:00
ui.rs assistant2: Sketch in sending file context to model (#21829) 2024-12-10 16:35:53 -05:00