mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-14 20:28:27 +00:00
18 lines
554 B
Plaintext
18 lines
554 B
Plaintext
@using AIStudio.Chat
|
|||
|
|
@inherits MSGComponentBase
|
||
|
|
|
||
|
|
<div class="d-flex flex-column flex-grow-1">
|
||
|
|
<MudText Typo="Typo.subtitle1">
|
||
|
|
@this.Title
|
||
|
|
</MudText>
|
||
|
|
@if (this.Answer.Completed)
|
||
|
|
{
|
||
|
|
<ContentBlockComponent Role="ChatRole.AI" Type="ContentType.TEXT" Time="@this.Time" Content="@this.content" Class="@this.CardClass"/>
|
||
|
|
}
|
||
|
|
else
|
||
|
|
{
|
||
|
|
<MudAlert Severity="Severity.Warning" Variant="Variant.Outlined" Dense="true" Class="@this.CardClass">
|
||
|
|
@T("This model did not answer.")
|
||
|
|
</MudAlert>
|
||
|
|
}
|
||
|
|
</div>
|