[feat] added streaming partly

This commit is contained in:
kwaroran
2023-05-17 03:11:34 +09:00
parent 502ffa7314
commit 7ea4945088
5 changed files with 29 additions and 5 deletions

View File

@@ -80,8 +80,8 @@ export async function stableDiff(currentChar:character,prompt:string){
}, 'submodel')
if(rq.type === 'fail'){
alertError(rq.result)
if(rq.type === 'fail' || rq.type === 'streaming'){
alertError(`${rq.result}`)
return false
}
else{