mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-22 01:02:16 +00:00
Respect expand state for custom messages
This commit is contained in:
parent
0404a93e33
commit
864bdb5c1d
1 changed files with 3 additions and 3 deletions
|
|
@ -2333,9 +2333,9 @@ export class InteractiveMode {
|
||||||
case "custom": {
|
case "custom": {
|
||||||
if (message.display) {
|
if (message.display) {
|
||||||
const renderer = this.session.extensionRunner?.getMessageRenderer(message.customType);
|
const renderer = this.session.extensionRunner?.getMessageRenderer(message.customType);
|
||||||
this.chatContainer.addChild(
|
const component = new CustomMessageComponent(message, renderer, this.getMarkdownThemeWithSettings());
|
||||||
new CustomMessageComponent(message, renderer, this.getMarkdownThemeWithSettings()),
|
component.setExpanded(this.toolOutputExpanded);
|
||||||
);
|
this.chatContainer.addChild(component);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue