diff --git a/components/Chat/Chat.tsx b/components/Chat/Chat.tsx index 6c09133..5e41ef3 100644 --- a/components/Chat/Chat.tsx +++ b/components/Chat/Chat.tsx @@ -80,7 +80,7 @@ export const Chat: FC = ({ conversation, models, messageIsStreaming, mode {loading && }
diff --git a/components/Chat/ChatInput.tsx b/components/Chat/ChatInput.tsx index a498dab..a01e6db 100644 --- a/components/Chat/ChatInput.tsx +++ b/components/Chat/ChatInput.tsx @@ -1,5 +1,5 @@ import { Message, OpenAIModel, OpenAIModelID } from "@/types"; -import { IconHandStop, IconSend } from "@tabler/icons-react"; +import { IconPlayerStop, IconSend } from "@tabler/icons-react"; import { FC, KeyboardEvent, MutableRefObject, useEffect, useRef, useState } from "react"; interface Props { @@ -76,8 +76,20 @@ export const ChatInput: FC = ({ onSend, messageIsStreaming, model, stopCo } return ( -
+
+ {messageIsStreaming && ( + + )}