diff --git a/src/components/Chat/ChatContent/ChatContent.tsx b/src/components/Chat/ChatContent/ChatContent.tsx index b8a58ce..4c95404 100644 --- a/src/components/Chat/ChatContent/ChatContent.tsx +++ b/src/components/Chat/ChatContent/ChatContent.tsx @@ -68,8 +68,8 @@ const ChatContent = () => { /> {error !== '' && ( -
-
+
+
{error}
{ setChats(updatedChats); setGenerating(true); - let stream; try { + let stream; const messages = limitMessageTokens( chats[currentChatIndex].messages, 4000