mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-09-27 04:33:38 +00:00
Reset and keep the web content URL in dynamic assistants
This commit is contained in:
parent
1b117f635f
commit
15400bc065
@ -140,6 +140,7 @@ else
|
||||
var webState = this.assistantState.WebContent[webContent.Name];
|
||||
<div class="@webContent.Class" style="@GetOptionalStyle(webContent.Style)">
|
||||
<ReadWebContent @bind-Content="@webState.Content"
|
||||
@bind-URL="@webState.URL"
|
||||
ProviderSettings="@this.ProviderSettings"
|
||||
@bind-AgentIsRunning="@webState.AgentIsRunning"
|
||||
@bind-Preselect="@webState.Preselect"
|
||||
|
||||
@ -3,7 +3,8 @@ namespace AIStudio.Assistants.Dynamic;
|
||||
public sealed class WebContentState
|
||||
{
|
||||
public string Content { get; set; } = string.Empty;
|
||||
public string URL { get; set; } = string.Empty;
|
||||
public bool Preselect { get; set; }
|
||||
public bool PreselectContentCleanerAgent { get; set; }
|
||||
public bool AgentIsRunning { get; set; }
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user