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 29054a1..78bffd3 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 { IconSend, IconPlayerStop } from "@tabler/icons-react"; import { FC, KeyboardEvent, MutableRefObject, useEffect, useRef, useState } from "react"; interface Props { @@ -78,6 +78,14 @@ export const ChatInput: FC = ({ onSend, messageIsStreaming, model, stopCo return (
+ {messageIsStreaming && ( + + )}