Renamed the settings of AI tasks (#1239)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-11-27 12:08:00 +01:00
1 parent d19d3d431b
commit a117074972
109 files changed
+3929 -538

No files matched your search

@@ -142,9 +142,9 @@ else
<ReadWebContent @bind-Content="@webState.Content"
@bind-URL="@webState.URL"
ProviderSettings="@this.ProviderSettings"
@bind-AgentIsRunning="@webState.AgentIsRunning"
@bind-CleanerIsRunning="@webState.CleanerIsRunning"
@bind-Preselect="@webState.Preselect"
@bind-PreselectContentCleanerAgent="@webState.PreselectContentCleanerAgent" />
@bind-PreselectContentCleaner="@webState.PreselectContentCleaner" />
</div>
}
break;
@@ -663,6 +663,15 @@ public partial class AssistantDynamic : AssistantBaseCore<NoSettingsPanel>
if (!prop.Key.TryRead<string>(out var propName) || string.IsNullOrWhiteSpace(propName))
continue;
// A plugin may still use a former name of a prop. The current name wins when the update holds both:
if (propSpec is not null)
{
if (!propSpec.TryGetCurrentName(propName, propsTable, out var currentName))
continue;
propName = currentName;
}
if (propSpec is not null && propSpec.NonWriteable.Contains(propName, StringComparer.Ordinal))
{
this.Logger.LogWarning($"Assistant {sourceType} callback tried to update non-writeable prop '{propName}' on component '{GetComponentName(component)}'. The value is ignored.");
@@ -5,6 +5,6 @@ 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; }
public bool PreselectContentCleaner { get; set; }
public bool CleanerIsRunning { get; set; }
}