bugfix
This commit is contained in:
parent
889e511ca7
commit
eca8698b23
@ -272,13 +272,10 @@ bricks.LlmModel = class extends bricks.JsWidget {
|
|||||||
console.log(l, 'is not a json data');
|
console.log(l, 'is not a json data');
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (! d.content && ! d.reasoning_content){
|
if (this.opts.response_mode == 'async' and d.status != 'SUCCESSED'){
|
||||||
console.log(l, 'content is null and reasoning_content is null');
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// d.content = bricks.escapeSpecialChars(d.content);
|
|
||||||
mout.update_data(d);
|
mout.update_data(d);
|
||||||
// console.log('stream data=', d);
|
|
||||||
}
|
}
|
||||||
chunk_ended(){
|
chunk_ended(){
|
||||||
console.log('chunk end');
|
console.log('chunk end');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user