Skip to content

Commit 64580e7

Browse files
authored
Merge pull request buerokratt#486 from rootcodelabs/fix/428_loading_reset_after_clear_chat
Fix for loading not resetting in chat window after clear chat
2 parents d3c6622 + a1538bc commit 64580e7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

GUI/src/pages/TestProductionLLM/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,8 @@ const TestProductionLLM: FC = () => {
291291
const clearChat = () => {
292292
setMessages([]);
293293
stopStreaming();
294+
setInputMessage('');
295+
setIsLoading(false);
294296
toast.open({
295297
type: 'info',
296298
title: t('testProductionLLM.chatClearedTitle'),

0 commit comments

Comments
 (0)