bugfix
This commit is contained in:
parent
7ce60cf23d
commit
1459033c88
@ -584,3 +584,10 @@ hr {
|
|||||||
.fullscreen {
|
.fullscreen {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.thinking-content {
|
||||||
|
background-color: #f0d0d0;
|
||||||
|
}
|
||||||
|
.resp-content {
|
||||||
|
background-color: #f0d0f0;
|
||||||
|
}
|
||||||
|
|||||||
@ -71,7 +71,7 @@ bricks.ModelOutput = class extends bricks.VBox {
|
|||||||
this.logid = null;
|
this.logid = null;
|
||||||
this.run = new bricks.BaseRunning({target:this});
|
this.run = new bricks.BaseRunning({target:this});
|
||||||
this.content.add_widget(this.run);
|
this.content.add_widget(this.run);
|
||||||
this.filler = new bricks.LlmOut({width: '100%'});
|
this.filler = new bricks.LlmOut({width: '100%', css: 'card'});
|
||||||
this.filler.set_css('filler');
|
this.filler.set_css('filler');
|
||||||
this.content.add_widget(new bricks.BlankIcon({rate:2, flexShrink:0}));
|
this.content.add_widget(new bricks.BlankIcon({rate:2, flexShrink:0}));
|
||||||
this.content.add_widget(this.filler);
|
this.content.add_widget(this.filler);
|
||||||
|
|||||||
@ -65,6 +65,7 @@ bricks.LlmOut = class extends bricks.VBox {
|
|||||||
var txt = bricks.escapeSpecialChars(this.reasoning_content);
|
var txt = bricks.escapeSpecialChars(this.reasoning_content);
|
||||||
this.rc_w = new bricks.MdWidget({
|
this.rc_w = new bricks.MdWidget({
|
||||||
mdtext: txt,
|
mdtext: txt,
|
||||||
|
css: 'thinking-content',
|
||||||
bgcolor: '#f0d0d0',
|
bgcolor: '#f0d0d0',
|
||||||
width: '100%'
|
width: '100%'
|
||||||
});
|
});
|
||||||
@ -74,7 +75,7 @@ bricks.LlmOut = class extends bricks.VBox {
|
|||||||
var txt = bricks.escapeSpecialChars(this.content);
|
var txt = bricks.escapeSpecialChars(this.content);
|
||||||
this.c_w = new bricks.MdWidget({
|
this.c_w = new bricks.MdWidget({
|
||||||
mdtext: txt,
|
mdtext: txt,
|
||||||
bgcolor: '#f0d0f0',
|
css: 'resp-content';
|
||||||
width: '100%'
|
width: '100%'
|
||||||
});
|
});
|
||||||
this.add_widget(this.c_w);
|
this.add_widget(this.c_w);
|
||||||
@ -97,4 +98,3 @@ bricks.LlmOut = class extends bricks.VBox {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
bricks.Factory.register('LlmOut', bricks.LlmOut);
|
bricks.Factory.register('LlmOut', bricks.LlmOut);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user