Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 15 additions & 8 deletions libs/chat/src/lib/compositions/chat/chat.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,14 +248,21 @@ export function isPinned(
/>
}
}
<chat-message-actions
chatMessageControls
[content]="content"
[disabled]="agent().isLoading()"
(regenerate)="onRegenerate(i)"
(rate)="onRate(message, $event)"
(contentCopied)="onCopy(message, $event)"
/>
<!-- Only show message actions when there is copyable assistant
text. Content-less messages (a bare tool call or a subagent
delegation card) have nothing to copy/regenerate/rate, so the
actions panel is pure whitespace there β€” suppress it to keep
the stream compact. -->
@if (content.trim()) {
<chat-message-actions
chatMessageControls
[content]="content"
[disabled]="agent().isLoading()"
(regenerate)="onRegenerate(i)"
(rate)="onRate(message, $event)"
(contentCopied)="onCopy(message, $event)"
/>
}
</chat-message>
</ng-template>

Expand Down
Loading