diff --git a/app/MindWork AI Studio/Agents/AssistantAudit/AssistantAuditResult.cs b/app/MindWork AI Studio/Agents/AssistantAudit/AssistantAuditResult.cs index 3b6ea2550..78593bfb5 100644 --- a/app/MindWork AI Studio/Agents/AssistantAudit/AssistantAuditResult.cs +++ b/app/MindWork AI Studio/Agents/AssistantAudit/AssistantAuditResult.cs @@ -8,8 +8,8 @@ public sealed record AssistantAuditResult /// /// Gets the serialized audit level returned by the model before callers normalize it to . /// - public string Level { get; init; } = string.Empty; - public string Summary { get; init; } = string.Empty; - public float Confidence { get; init; } - public List Findings { get; init; } = []; + public string Level { get; set; } = string.Empty; + public string Summary { get; set; } = string.Empty; + public float Confidence { get; set; } + public List Findings { get; set; } = []; } diff --git a/app/MindWork AI Studio/Assistants/Builder/AssistantBuilderAssistantMetadata.cs b/app/MindWork AI Studio/Assistants/Builder/AssistantBuilderAssistantMetadata.cs index ffec9af60..d6401ee8d 100644 --- a/app/MindWork AI Studio/Assistants/Builder/AssistantBuilderAssistantMetadata.cs +++ b/app/MindWork AI Studio/Assistants/Builder/AssistantBuilderAssistantMetadata.cs @@ -2,12 +2,12 @@ namespace AIStudio.Assistants.Builder; internal sealed class AssistantBuilderAssistantMetadata { - public string Kind { get; init; } = string.Empty; - public string Title { get; init; } = string.Empty; - public string Description { get; init; } = string.Empty; - public string? SystemPrompt { get; init; } - public string? SubmitText { get; init; } - public bool? AllowAiStudioProfiles { get; init; } - public string[]? ToolIds { get; init; } - public AssistantBuilderChatLaunchMetadata? Launch { get; init; } + public string Kind { get; set; } = string.Empty; + public string Title { get; set; } = string.Empty; + public string Description { get; set; } = string.Empty; + public string? SystemPrompt { get; set; } + public string? SubmitText { get; set; } + public bool? AllowAiStudioProfiles { get; set; } + public string[]? ToolIds { get; set; } + public AssistantBuilderChatLaunchMetadata? Launch { get; set; } } \ No newline at end of file diff --git a/app/MindWork AI Studio/Assistants/Builder/AssistantBuilderChatLaunchMetadata.cs b/app/MindWork AI Studio/Assistants/Builder/AssistantBuilderChatLaunchMetadata.cs index f0a869e33..100dc91dd 100644 --- a/app/MindWork AI Studio/Assistants/Builder/AssistantBuilderChatLaunchMetadata.cs +++ b/app/MindWork AI Studio/Assistants/Builder/AssistantBuilderChatLaunchMetadata.cs @@ -6,10 +6,10 @@ internal sealed class AssistantBuilderChatLaunchMetadata /// The workspace the chat is created in. A model leaves this field out for a launcher that /// opens a chat without a workspace, which is why it stays empty rather than null. /// - public string WorkspaceName { get; init; } = string.Empty; - public string? ProviderId { get; init; } - public string? ProfileId { get; init; } - public string? ChatTemplateId { get; init; } - public string[]? DataSourceIds { get; init; } - public string[]? ToolIds { get; init; } + public string WorkspaceName { get; set; } = string.Empty; + public string? ProviderId { get; set; } + public string? ProfileId { get; set; } + public string? ChatTemplateId { get; set; } + public string[]? DataSourceIds { get; set; } + public string[]? ToolIds { get; set; } } \ No newline at end of file diff --git a/app/MindWork AI Studio/Assistants/Builder/AssistantBuilderPluginMetadata.cs b/app/MindWork AI Studio/Assistants/Builder/AssistantBuilderPluginMetadata.cs index 99e550ee0..d7cbbb804 100644 --- a/app/MindWork AI Studio/Assistants/Builder/AssistantBuilderPluginMetadata.cs +++ b/app/MindWork AI Studio/Assistants/Builder/AssistantBuilderPluginMetadata.cs @@ -2,7 +2,7 @@ namespace AIStudio.Assistants.Builder; internal sealed class AssistantBuilderPluginMetadata { - public string Name { get; init; } = string.Empty; - public string Description { get; init; } = string.Empty; - public string[] Categories { get; init; } = []; + public string Name { get; set; } = string.Empty; + public string Description { get; set; } = string.Empty; + public string[] Categories { get; set; } = []; } \ No newline at end of file diff --git a/app/MindWork AI Studio/Assistants/Builder/LauncherTextsResponse.cs b/app/MindWork AI Studio/Assistants/Builder/LauncherTextsResponse.cs index 388afae1b..28408c9ea 100644 --- a/app/MindWork AI Studio/Assistants/Builder/LauncherTextsResponse.cs +++ b/app/MindWork AI Studio/Assistants/Builder/LauncherTextsResponse.cs @@ -22,22 +22,22 @@ internal sealed class LauncherTextsResponse MaxDepth = 8, }; - public string SchemaVersion { get; init; } = string.Empty; + public string SchemaVersion { get; set; } = string.Empty; /// /// The plugin name, shown on the plugins page. /// - public string PluginName { get; init; } = string.Empty; + public string PluginName { get; set; } = string.Empty; /// /// The title on the tile. /// - public string Title { get; init; } = string.Empty; + public string Title { get; set; } = string.Empty; /// /// The short description, used for both the plugin and the tile. /// - public string Description { get; init; } = string.Empty; + public string Description { get; set; } = string.Empty; public static bool TryParse(string modelResponse, out LauncherTextsResponse response, out LuaResponseParseError error, out string technicalDetails) { diff --git a/app/MindWork AI Studio/Assistants/Builder/LuaResponse.cs b/app/MindWork AI Studio/Assistants/Builder/LuaResponse.cs index d44952fac..d542ae5d5 100644 --- a/app/MindWork AI Studio/Assistants/Builder/LuaResponse.cs +++ b/app/MindWork AI Studio/Assistants/Builder/LuaResponse.cs @@ -3,8 +3,8 @@ namespace AIStudio.Assistants.Builder; internal sealed partial class LuaResponse { public const string SCHEMA_VERSION_VALUE = "assistant_builder_lua_response_v2"; - public string SchemaVersion { get; init; } = string.Empty; - public AssistantBuilderPluginMetadata? Plugin { get; init; } - public AssistantBuilderAssistantMetadata? Assistant { get; init; } - public string FullLua { get; init; } = string.Empty; + public string SchemaVersion { get; set; } = string.Empty; + public AssistantBuilderPluginMetadata? Plugin { get; set; } + public AssistantBuilderAssistantMetadata? Assistant { get; set; } + public string FullLua { get; set; } = string.Empty; } \ No newline at end of file diff --git a/app/MindWork AI Studio/Assistants/ERI/ERIServerFileList.cs b/app/MindWork AI Studio/Assistants/ERI/ERIServerFileList.cs index 7f9655003..fa3c3be65 100644 --- a/app/MindWork AI Studio/Assistants/ERI/ERIServerFileList.cs +++ b/app/MindWork AI Studio/Assistants/ERI/ERIServerFileList.cs @@ -24,7 +24,7 @@ internal sealed class ERIServerFileList /// /// The paths of the files, relative to the base directory. /// - public List? Files { get; init; } + public List? Files { get; set; } /// /// Reads the list of files out of the answer of the model.