Unverified Commit 5e2c3eea authored by Joel's avatar Joel Committed by GitHub

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

parent b23d8a91
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment