mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 08:03:39 +00:00
Merge pull request #1258 from Gurpartap/fix/custom-message-expand-state
Respect expand state for custom messages
This commit is contained in:
commit
7c39a12a28
1 changed files with 3 additions and 3 deletions
|
|
@ -2333,9 +2333,9 @@ export class InteractiveMode {
|
|||
case "custom": {
|
||||
if (message.display) {
|
||||
const renderer = this.session.extensionRunner?.getMessageRenderer(message.customType);
|
||||
this.chatContainer.addChild(
|
||||
new CustomMessageComponent(message, renderer, this.getMarkdownThemeWithSettings()),
|
||||
);
|
||||
const component = new CustomMessageComponent(message, renderer, this.getMarkdownThemeWithSettings());
|
||||
component.setExpanded(this.toolOutputExpanded);
|
||||
this.chatContainer.addChild(component);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue