Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions src/libs/Dust/Generated/Dust.Models.AgentConfiguration.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -167,12 +167,12 @@ public sealed partial class AgentConfiguration
public bool? IgnoreCreditSpendThresholdAlert { get; set; }

/// <summary>
/// Whether the private fields (instructions, skills, tools) were redacted because the caller cannot view the agent's content<br/>
/// Whether the caller can view the agent's private fields (instructions, skills, tools); they are redacted when false<br/>
/// Example: false
/// </summary>
/// <example>false</example>
[global::System.Text.Json.Serialization.JsonPropertyName("isRedacted")]
public bool? IsRedacted { get; set; }
[global::System.Text.Json.Serialization.JsonPropertyName("canViewContent")]
public bool? CanViewContent { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
Expand Down Expand Up @@ -258,8 +258,8 @@ public sealed partial class AgentConfiguration
/// Whether the agent keeps running past the workspace credit spend threshold alert<br/>
/// Example: false
/// </param>
/// <param name="isRedacted">
/// Whether the private fields (instructions, skills, tools) were redacted because the caller cannot view the agent's content<br/>
/// <param name="canViewContent">
/// Whether the caller can view the agent's private fields (instructions, skills, tools); they are redacted when false<br/>
/// Example: false
/// </param>
#if NET7_0_OR_GREATER
Expand Down Expand Up @@ -287,7 +287,7 @@ public AgentConfiguration(
int? maxStepsPerRun,
string? templateId,
bool? ignoreCreditSpendThresholdAlert,
bool? isRedacted)
bool? canViewContent)
{
this.Id = id;
this.AgentModelId = agentModelId;
Expand All @@ -310,7 +310,7 @@ public AgentConfiguration(
this.MaxStepsPerRun = maxStepsPerRun;
this.TemplateId = templateId;
this.IgnoreCreditSpendThresholdAlert = ignoreCreditSpendThresholdAlert;
this.IsRedacted = isRedacted;
this.CanViewContent = canViewContent;
}

/// <summary>
Expand Down
6 changes: 6 additions & 0 deletions src/libs/Dust/Generated/Dust.Models.WorkspaceLocale.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ namespace Dust
/// </summary>
public enum WorkspaceLocale
{
/// <summary>
///
/// </summary>
EnGb,
/// <summary>
///
/// </summary>
Expand All @@ -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),
Expand All @@ -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,
Expand Down
5 changes: 3 additions & 2 deletions src/libs/Dust/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6546,6 +6546,7 @@
"type": "string",
"enum": [
"en-US",
"en-GB",
"fr-FR"
],
"description": "Default language of the product UI for the workspace members",
Expand Down Expand Up @@ -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
}
}
Expand Down
Loading