feat: Embedded chat window supports userVariables configuration. (#20983)
This commit is contained in:
parent
787a556bd7
commit
15800c6108
8 changed files with 58 additions and 6 deletions
|
|
@ -195,6 +195,7 @@ const EmbeddedChatbotWrapper = () => {
|
|||
currentConversationInputs,
|
||||
setCurrentConversationInputs,
|
||||
allInputsHidden,
|
||||
initUserVariables,
|
||||
} = useEmbeddedChatbot()
|
||||
|
||||
return <EmbeddedChatbotContext.Provider value={{
|
||||
|
|
@ -233,6 +234,7 @@ const EmbeddedChatbotWrapper = () => {
|
|||
currentConversationInputs,
|
||||
setCurrentConversationInputs,
|
||||
allInputsHidden,
|
||||
initUserVariables,
|
||||
}}>
|
||||
<Chatbot />
|
||||
</EmbeddedChatbotContext.Provider>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue