File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
web/app/components/base/chat Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ export const useChatWithHistory = (installedAppInfo?: InstalledApp) => {
173173 const conversationInputs : Record < string , any > = { }
174174
175175 inputsForms . forEach ( ( item : any ) => {
176- conversationInputs [ item . variable ] = item . default || ''
176+ conversationInputs [ item . variable ] = item . default || null
177177 } )
178178 handleNewConversationInputsChange ( conversationInputs )
179179 } , [ handleNewConversationInputsChange , inputsForms ] )
Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ export const useEmbeddedChatbot = () => {
159159 const conversationInputs : Record < string , any > = { }
160160
161161 inputsForms . forEach ( ( item : any ) => {
162- conversationInputs [ item . variable ] = item . default || ''
162+ conversationInputs [ item . variable ] = item . default || null
163163 } )
164164 handleNewConversationInputsChange ( conversationInputs )
165165 } , [ handleNewConversationInputsChange , inputsForms ] )
You can’t perform that action at this time.
0 commit comments