From 6010979e414f467c6767c2cfbb23f78cd981280f Mon Sep 17 00:00:00 2001 From: bracesproul Date: Sun, 3 Nov 2024 15:11:12 -0800 Subject: [PATCH] fix: hide new model dialog when chat started --- src/components/chat-interface/model-selector.tsx | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/components/chat-interface/model-selector.tsx b/src/components/chat-interface/model-selector.tsx index c5656948..57c8e98e 100644 --- a/src/components/chat-interface/model-selector.tsx +++ b/src/components/chat-interface/model-selector.tsx @@ -212,13 +212,15 @@ export default function ModelSelector(props: ModelSelectorProps) { ))} -
- -
+ {!props.chatStarted && ( +
+ +
+ )} ); }