mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-13 02:33:47 +00:00
Reset and keep the web content URL in dynamic assistants
This commit is contained in:
2 files changed
+3
-1
No files matched your search
@@ -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; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user