fix: generate title by backend

This commit is contained in:
Wentao Lyu 2023-03-14 11:42:35 +08:00
parent 3e7ce67609
commit 27515cb00a
6 changed files with 40 additions and 26 deletions

View file

@ -307,7 +307,7 @@ export default function TextChat({ messages }) {
const changeHandler = (e) => {
const { value } = e.target;
console.log(value)
if (isSubmitting && (value === '' || value === '\n')) {
return;
}