fix: disable empty string
This commit is contained in:
@@ -199,6 +199,7 @@
|
|||||||
if (res) {
|
if (res) {
|
||||||
console.log(res.text);
|
console.log(res.text);
|
||||||
|
|
||||||
|
if (res.text !== '') {
|
||||||
const _responses = await submitPrompt(res.text);
|
const _responses = await submitPrompt(res.text);
|
||||||
console.log(_responses);
|
console.log(_responses);
|
||||||
|
|
||||||
@@ -209,6 +210,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const assistantSpeakingHandler = async (content) => {
|
const assistantSpeakingHandler = async (content) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user