AI-Studio/app/MindWork AI Studio/Pages/Writer.razor

25 lines
819 B
Plaintext
Raw Normal View History

@attribute [Route(Routes.WRITER)]
@inherits MSGComponentBase
<div class="inner-scrolling-context">
2025-03-29 17:40:17 +00:00
<MudText Typo="Typo.h3" Class="mb-2">
Writer
</MudText>
2025-03-29 17:40:17 +00:00
<PreviewExperimental ApplyInnerScrollingFix="true"/>
<ProviderSelection @bind-ProviderSettings="@this.providerSettings"/>
2025-03-29 17:55:30 +00:00
<MudButton Variant="Variant.Filled" StartIcon="@Icons.Material.Filled.Download" OnClick="@(() => this.LoadTextFile())" Color="Color.Primary" Class="mb-2">
Load a text file
</MudButton>
<InnerScrolling>
<ChildContent>
2025-03-29 18:18:43 +00:00
</ChildContent>
<FooterContent>
@if (this.isStreaming)
{
<MudProgressLinear Color="Color.Primary" Indeterminate="true" Class="mb-6" />
}
</FooterContent>
</InnerScrolling>
</div>