mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 08:37:22 +00:00
Fix streaming message not being saved
This commit is contained in:
2 files changed
+3
-4
No files matched your search
@@ -372,12 +372,12 @@ export const ChatPane = forwardRef<ChatPaneRef, ChatPaneProps>(({
|
||||
/>
|
||||
);
|
||||
})}
|
||||
{streamingMessage && isLoading && (
|
||||
{streamingMessage && (
|
||||
streamingMessage.content ? (
|
||||
<AIMessageItem
|
||||
key="streaming-message"
|
||||
message={streamingMessage as AIMessage}
|
||||
isCurrentlyLoading
|
||||
isCurrentlyLoading={isLoading}
|
||||
/>
|
||||
) : (
|
||||
<div key="streaming-loading" className="flex">
|
||||
|
||||
Reference in new issue
Block a user