Update PlaygroundForm and Sidebar components

This commit is contained in:
n4ze3m
2024-02-07 00:48:59 +05:30
parent 58966355c3
commit c1efb2d5cb
4 changed files with 65 additions and 14 deletions

View File

@@ -95,7 +95,7 @@ export const useMessageOption = () => {
const abortControllerRef = React.useRef<AbortController | null>(null)
const clearChat = () => {
stopStreamingRequest()
// stopStreamingRequest()
setMessages([])
setHistory([])
setHistoryId(null)