fix: chat app added new var old conversation not work (#511)

pull/520/head
Joel 3 years ago committed by GitHub
parent b23d8a912b
commit 5e2c3eeac3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -369,6 +369,9 @@ const Main: FC<IMainProps> = ({
}
const checkCanSend = () => {
if (currConversationId !== '-1')
return true
const prompt_variables = promptConfig?.prompt_variables
const inputs = currInputs
if (!inputs || !prompt_variables || prompt_variables?.length === 0)

Loading…
Cancel
Save