Skip to content

Commit

Permalink
Update ChatMessage.razor
Browse files Browse the repository at this point in the history
  • Loading branch information
BeepBeepBopBop committed Nov 29, 2024
1 parent a5689c4 commit d368939
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions LM-Kit-Maestro/UI/Razor/Components/ChatMessage.razor
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,12 @@
@(MessageJustCopied ? "check" : "content_copy")
</button>

<button @onclick="OnRegenerateResponseButtonClicked" class="chatActionButton material-icons">
sync
</button>
@if (MessageViewModel.Sender == MessageSender.Assistant)
{
<button @onclick="OnRegenerateResponseButtonClicked" class="chatActionButton material-icons">
sync
</button>
}
</div>

@if (MessageViewModel.Sender == MessageSender.Assistant)
Expand Down

0 comments on commit d368939

Please sign in to comment.