Переглянути джерело

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

tags/0.3.7
Joel 2 роки тому
джерело
коміт
5e2c3eeac3
Аккаунт користувача з таким Email не знайдено
1 змінених файлів з 3 додано та 0 видалено
  1. 3
    0
      web/app/components/share/chat/index.tsx

+ 3
- 0
web/app/components/share/chat/index.tsx Переглянути файл

@@ -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)

Завантаження…
Відмінити
Зберегти