mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-02-12 10:21:36 +00:00
Allow assistants to reset the input issues
This commit is contained in:
parent
2b50ab4e0e
commit
b37639e4df
@ -189,6 +189,16 @@ public abstract partial class AssistantBase<TSettings> : AssistantLowerBase wher
|
||||
this.StateHasChanged();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Clear all input issues.
|
||||
/// </summary>
|
||||
protected void ClearInputIssues()
|
||||
{
|
||||
this.inputIssues = [];
|
||||
this.inputIsValid = true;
|
||||
this.StateHasChanged();
|
||||
}
|
||||
|
||||
protected void CreateChatThread()
|
||||
{
|
||||
this.chatThread = new()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user