bugfix
This commit is contained in:
parent
d56a771703
commit
80303d1c82
@ -266,8 +266,8 @@ bricks.LlmModel = class extends bricks.JsWidget {
|
||||
console.log(l, 'is not a json data');
|
||||
return
|
||||
}
|
||||
if (! d.content || d.content == ''){
|
||||
console.log(l, 'content is not null');
|
||||
if (! d.content && ! d.reasoning_content){
|
||||
console.log(l, 'content is null and reasoning_content is null');
|
||||
return;
|
||||
}
|
||||
d.content = bricks.escapeSpecialChars(d.content);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user