feat: webapp support change inputs after conversation started (#16901)

This commit is contained in:
KVOJJJin 2025-03-27 11:58:16 +08:00 • committed by GitHub
commit c23135c9e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 76 additions and 36 deletions

View file

@ -157,6 +157,8 @@ const ChatWithHistoryWrap: FC<ChatWithHistoryWrapProps> = ({
setClearChatList,
isResponding,
setIsResponding,
currentConversationInputs,
setCurrentConversationInputs,
} = useChatWithHistory(installedAppInfo)
return (
@ -198,6 +200,8 @@ const ChatWithHistoryWrap: FC<ChatWithHistoryWrapProps> = ({
setClearChatList,
isResponding,
setIsResponding,
currentConversationInputs,
setCurrentConversationInputs,
}}>
<ChatWithHistory className={className} />
</ChatWithHistoryContext.Provider>