| } | } | ||||
| const checkCanSend = () => { | const checkCanSend = () => { | ||||
| if (currConversationId !== '-1') | |||||
| return true | |||||
| const prompt_variables = promptConfig?.prompt_variables | const prompt_variables = promptConfig?.prompt_variables | ||||
| const inputs = currInputs | const inputs = currInputs | ||||
| if (!inputs || !prompt_variables || prompt_variables?.length === 0) | if (!inputs || !prompt_variables || prompt_variables?.length === 0) |