@@ -5,6 +5,7 @@ import {
|
||||
createSignal,
|
||||
createUniqueId,
|
||||
For,
|
||||
onCleanup,
|
||||
onMount,
|
||||
Show,
|
||||
} from 'solid-js'
|
||||
@@ -268,6 +269,11 @@ export const ConversationContainer = (props: Props) => {
|
||||
}
|
||||
}
|
||||
|
||||
onCleanup(() => {
|
||||
setStreamingMessage(undefined)
|
||||
setFormattedMessages([])
|
||||
})
|
||||
|
||||
const handleSkip = () => sendMessage(undefined)
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user