From d7b0788214a89ed7d73539f7f33485e17cab8fb7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 30 Sep 2026 17:43:47 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../Generated/Dust.Models.AgentConfiguration.g.cs | 14 +++++++------- .../Generated/Dust.Models.WorkspaceLocale.g.cs | 6 ++++++ src/libs/Dust/openapi.yaml | 5 +++-- 3 files changed, 16 insertions(+), 9 deletions(-) diff --git a/src/libs/Dust/Generated/Dust.Models.AgentConfiguration.g.cs b/src/libs/Dust/Generated/Dust.Models.AgentConfiguration.g.cs index c79f72a..c0186f4 100644 --- a/src/libs/Dust/Generated/Dust.Models.AgentConfiguration.g.cs +++ b/src/libs/Dust/Generated/Dust.Models.AgentConfiguration.g.cs @@ -167,12 +167,12 @@ public sealed partial class AgentConfiguration public bool? IgnoreCreditSpendThresholdAlert { get; set; } /// - /// Whether the private fields (instructions, skills, tools) were redacted because the caller cannot view the agent's content
+ /// Whether the caller can view the agent's private fields (instructions, skills, tools); they are redacted when false
/// Example: false ///
/// false - [global::System.Text.Json.Serialization.JsonPropertyName("isRedacted")] - public bool? IsRedacted { get; set; } + [global::System.Text.Json.Serialization.JsonPropertyName("canViewContent")] + public bool? CanViewContent { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -258,8 +258,8 @@ public sealed partial class AgentConfiguration /// Whether the agent keeps running past the workspace credit spend threshold alert
/// Example: false /// - /// - /// Whether the private fields (instructions, skills, tools) were redacted because the caller cannot view the agent's content
+ /// + /// Whether the caller can view the agent's private fields (instructions, skills, tools); they are redacted when false
/// Example: false /// #if NET7_0_OR_GREATER @@ -287,7 +287,7 @@ public AgentConfiguration( int? maxStepsPerRun, string? templateId, bool? ignoreCreditSpendThresholdAlert, - bool? isRedacted) + bool? canViewContent) { this.Id = id; this.AgentModelId = agentModelId; @@ -310,7 +310,7 @@ public AgentConfiguration( this.MaxStepsPerRun = maxStepsPerRun; this.TemplateId = templateId; this.IgnoreCreditSpendThresholdAlert = ignoreCreditSpendThresholdAlert; - this.IsRedacted = isRedacted; + this.CanViewContent = canViewContent; } /// diff --git a/src/libs/Dust/Generated/Dust.Models.WorkspaceLocale.g.cs b/src/libs/Dust/Generated/Dust.Models.WorkspaceLocale.g.cs index 492e67d..98234f8 100644 --- a/src/libs/Dust/Generated/Dust.Models.WorkspaceLocale.g.cs +++ b/src/libs/Dust/Generated/Dust.Models.WorkspaceLocale.g.cs @@ -9,6 +9,10 @@ namespace Dust /// public enum WorkspaceLocale { + /// + /// + /// + EnGb, /// /// /// @@ -31,6 +35,7 @@ public static string ToValueString(this WorkspaceLocale value) { return value switch { + WorkspaceLocale.EnGb => "en-GB", WorkspaceLocale.EnUs => "en-US", WorkspaceLocale.FrFr => "fr-FR", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), @@ -43,6 +48,7 @@ public static string ToValueString(this WorkspaceLocale value) { return value switch { + "en-GB" => WorkspaceLocale.EnGb, "en-US" => WorkspaceLocale.EnUs, "fr-FR" => WorkspaceLocale.FrFr, _ => null, diff --git a/src/libs/Dust/openapi.yaml b/src/libs/Dust/openapi.yaml index 3c5e328..e58837f 100644 --- a/src/libs/Dust/openapi.yaml +++ b/src/libs/Dust/openapi.yaml @@ -6546,6 +6546,7 @@ "type": "string", "enum": [ "en-US", + "en-GB", "fr-FR" ], "description": "Default language of the product UI for the workspace members", @@ -6760,9 +6761,9 @@ "description": "Whether the agent keeps running past the workspace credit spend threshold alert", "example": false }, - "isRedacted": { + "canViewContent": { "type": "boolean", - "description": "Whether the private fields (instructions, skills, tools) were redacted because the caller cannot view the agent's content", + "description": "Whether the caller can view the agent's private fields (instructions, skills, tools); they are redacted when false", "example": false } }