added footer actions to the assistant base component

This commit is contained in:
Nils Kruthoff 2026-09-15 14:18:14 +02:00
parent 1823ea30b2
commit 4f826fa591
No known key found for this signature in database
GPG Key ID: A5C0151B4DDB172C
2 changed files with 8 additions and 1 deletions

View File

@ -183,9 +183,14 @@
<ToolSelection Component="@this.Component" LLMProvider="@this.ProviderSettings" SelectedToolIds="@this.SelectedToolIds" SelectedToolIdsChanged="@this.SelectedToolIdsChanged" Disabled="@this.IsProcessing" />
}
@if (this.FooterActions is not null)
{
@this.FooterActions
}
<MudSpacer />
<HalluzinationReminder ContainerClass="my-0 ml-2"/>
</MudStack>
</FooterContent>
</InnerScrolling>
</PathDropZone>
</PathDropZone>

View File

@ -125,6 +125,8 @@ public abstract partial class AssistantBase<TSettings> : AssistantLowerBase wher
private protected virtual RenderFragment? HeaderActions => null;
private protected virtual RenderFragment? FooterActions => null;
private protected virtual RenderFragment? AfterResultContent => null;
protected virtual IReadOnlyList<IButtonData> FooterButtons => [];