mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-28 08:39:47 +00:00
25 lines
819 B
Plaintext
25 lines
819 B
Plaintext
@attribute [Route(Routes.WRITER)]
|
|
@inherits MSGComponentBase
|
|
|
|
<div class="inner-scrolling-context">
|
|
<MudText Typo="Typo.h3" Class="mb-2">
|
|
Writer
|
|
</MudText>
|
|
<PreviewExperimental ApplyInnerScrollingFix="true"/>
|
|
|
|
<ProviderSelection @bind-ProviderSettings="@this.providerSettings"/>
|
|
<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>
|
|
|
|
</ChildContent>
|
|
<FooterContent>
|
|
@if (this.isStreaming)
|
|
{
|
|
<MudProgressLinear Color="Color.Primary" Indeterminate="true" Class="mb-6" />
|
|
}
|
|
</FooterContent>
|
|
</InnerScrolling>
|
|
</div> |