Commit ea80285e authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix: disable empty string

parent f43d255e
...@@ -199,6 +199,7 @@ ...@@ -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 @@ ...@@ -209,6 +210,7 @@
} }
} }
} }
}
}; };
const assistantSpeakingHandler = async (content) => { const assistantSpeakingHandler = async (content) => {
......
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