bugfix
This commit is contained in:
parent
f3e5fb7e70
commit
6655f9fcd5
@ -123,13 +123,12 @@ bricks.ModelOutput = class extends bricks.VBox {
|
|||||||
}
|
}
|
||||||
if (data.content){
|
if (data.content){
|
||||||
this.received_content += data.content;
|
this.received_content += data.content;
|
||||||
data.content = bricks.escapeSpecialChars(this.received_content);
|
|
||||||
bricks.escapeSpecialChars(data.content)
|
|
||||||
}
|
}
|
||||||
|
data.content = bricks.escapeSpecialChars(this.received_content);
|
||||||
if (data.reasoning_content){
|
if (data.reasoning_content){
|
||||||
this.received_reasoning_content += data.reasoning_content;
|
this.received_reasoning_content += data.reasoning_content;
|
||||||
data.reasoning_content = bricks.escapeSpecialChars(this.received_reasoning_content);
|
|
||||||
}
|
}
|
||||||
|
data.reasoning_content = bricks.escapeSpecialChars(this.received_reasoning_content);
|
||||||
this.run = null;
|
this.run = null;
|
||||||
this.filler.clear_widgets();
|
this.filler.clear_widgets();
|
||||||
if (typeof this.output_view === 'string'){
|
if (typeof this.output_view === 'string'){
|
||||||
@ -379,11 +378,7 @@ bricks.LlmIO = class extends bricks.VBox {
|
|||||||
{
|
{
|
||||||
widgettype:"Svg",
|
widgettype:"Svg",
|
||||||
options: {
|
options: {
|
||||||
url:"/appbase/show_icon.dspy",
|
url:"/appbase/show_icon.dspy?id=${iconid}"
|
||||||
method: "POST",
|
|
||||||
params: {
|
|
||||||
"id": "${iconid}"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user