diff --git a/components/Chat/Chat.tsx b/components/Chat/Chat.tsx index 6a997b1..a78f3cd 100644 --- a/components/Chat/Chat.tsx +++ b/components/Chat/Chat.tsx @@ -33,7 +33,7 @@ export const Chat: FC = ({ conversation, models, messageIsStreaming, mode }, [conversation.messages]); return ( -
+
{modelError ? (
Error fetching models.
@@ -42,11 +42,11 @@ export const Chat: FC = ({ conversation, models, messageIsStreaming, mode
) : ( <> -
+
{conversation.messages.length === 0 ? ( <>
-
{models.length === 0 ? "Loading..." : "Chatbot UI"}
+
{models.length === 0 ? "Loading..." : "Chatbot UI"}
{models.length > 0 && (
@@ -79,7 +79,7 @@ export const Chat: FC = ({ conversation, models, messageIsStreaming, mode {loading && }
diff --git a/components/Chat/ChatInput.tsx b/components/Chat/ChatInput.tsx index 2a5d999..5423f1d 100644 --- a/components/Chat/ChatInput.tsx +++ b/components/Chat/ChatInput.tsx @@ -68,10 +68,12 @@ export const ChatInput: FC = ({ onSend, messageIsStreaming, model }) => { }, [content]); return ( -
+
+
+