mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-14 06:53:47 +00:00
added footer actions to the assistant base component
This commit is contained in:
2 files changed
+7
No files matched your search
@@ -183,6 +183,11 @@
|
|||||||
<ToolSelection Component="@this.Component" LLMProvider="@this.ProviderSettings" SelectedToolIds="@this.SelectedToolIds" SelectedToolIdsChanged="@this.SelectedToolIdsChanged" Disabled="@this.IsProcessing" />
|
<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 />
|
<MudSpacer />
|
||||||
<HalluzinationReminder ContainerClass="my-0 ml-2"/>
|
<HalluzinationReminder ContainerClass="my-0 ml-2"/>
|
||||||
</MudStack>
|
</MudStack>
|
||||||
|
|||||||
@@ -125,6 +125,8 @@ public abstract partial class AssistantBase<TSettings> : AssistantLowerBase wher
|
|||||||
|
|
||||||
private protected virtual RenderFragment? HeaderActions => null;
|
private protected virtual RenderFragment? HeaderActions => null;
|
||||||
|
|
||||||
|
private protected virtual RenderFragment? FooterActions => null;
|
||||||
|
|
||||||
private protected virtual RenderFragment? AfterResultContent => null;
|
private protected virtual RenderFragment? AfterResultContent => null;
|
||||||
|
|
||||||
protected virtual IReadOnlyList<IButtonData> FooterButtons => [];
|
protected virtual IReadOnlyList<IButtonData> FooterButtons => [];
|
||||||
|
|||||||
Reference in new issue
Block a user