From c690413df00f3b5722d49c7f0fec8bce201d4fca Mon Sep 17 00:00:00 2001 From: Faisal Amir Date: Sun, 3 Dec 2023 11:50:45 +0700 Subject: [PATCH] Add status arround textarea for starting model info --- web/screens/Chat/MessageToolbar/index.tsx | 1 - web/screens/Chat/index.tsx | 9 +++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/web/screens/Chat/MessageToolbar/index.tsx b/web/screens/Chat/MessageToolbar/index.tsx index 13cea6270b..5380c7e292 100644 --- a/web/screens/Chat/MessageToolbar/index.tsx +++ b/web/screens/Chat/MessageToolbar/index.tsx @@ -31,7 +31,6 @@ const MessageToolbar = ({ message }: { message: ThreadMessage }) => { // [thread?.id] // ) // const threadState = useAtomValue(threadStateAtom) - const stopInference = async () => { await extensionManager .get(ExtensionType.Inference) diff --git a/web/screens/Chat/index.tsx b/web/screens/Chat/index.tsx index a8d2ab7915..99593b75b2 100644 --- a/web/screens/Chat/index.tsx +++ b/web/screens/Chat/index.tsx @@ -93,6 +93,8 @@ const ChatScreen = () => { } } + console.log(stateModel, 'stateModel') + return (
@@ -135,6 +137,13 @@ const ChatScreen = () => {
)} + {stateModel.loading && ( +
+ + Starting model {stateModel.model} + +
+ )} {queuedMessage && (