Allow assistants to reset the input issues

This commit is contained in:
Thorsten Sommer 2026-01-28 10:29:12 +01:00
parent 2b50ab4e0e
commit b37639e4df
Signed by untrusted user who does not match committer: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -189,6 +189,16 @@ public abstract partial class AssistantBase<TSettings> : AssistantLowerBase wher
this.StateHasChanged(); this.StateHasChanged();
} }
/// <summary>
/// Clear all input issues.
/// </summary>
protected void ClearInputIssues()
{
this.inputIssues = [];
this.inputIsValid = true;
this.StateHasChanged();
}
protected void CreateChatThread() protected void CreateChatThread()
{ {
this.chatThread = new() this.chatThread = new()