added another render fragment for general content below the submit button for all content present after the llm response is finished

This commit is contained in:
nilsk 2026-07-01 23:55:31 +02:00
parent fc2cc2b532
commit 52a1657c0a
No known key found for this signature in database
GPG Key ID: A5C0151B4DDB172C
2 changed files with 7 additions and 0 deletions

View File

@ -49,6 +49,11 @@
} }
</MudStack> </MudStack>
@if (this.BelowSubmitContent is not null)
{
@this.BelowSubmitContent
}
@if (this.AfterSubmitContent is not null && this.isProcessing) @if (this.AfterSubmitContent is not null && this.isProcessing)
{ {
@this.AfterSubmitContent @this.AfterSubmitContent

View File

@ -65,6 +65,8 @@ public abstract partial class AssistantBase<TSettings> : AssistantLowerBase wher
private protected virtual RenderFragment? AfterSubmitContent => null; private protected virtual RenderFragment? AfterSubmitContent => null;
private protected virtual RenderFragment? BelowSubmitContent => null;
protected virtual bool ShowResult => true; protected virtual bool ShowResult => true;
protected virtual bool ShowEntireChatThread => false; protected virtual bool ShowEntireChatThread => false;