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
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ public sealed partial class TtsAgentTestSuiteRun
[global::System.Text.Json.Serialization.JsonPropertyName("agent_id")]
public string? AgentId { get; set; }

/// <summary>
/// Display name of `agent_id`'s agent, resolved at read time.<br/>
/// Null whenever `agent_id` is null, and on the suite run<br/>
/// embedded in run/resubmit creation responses.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("agent_name")]
public string? AgentName { get; set; }

/// <summary>
/// Which entry point created a suite run.<br/>
/// - `run_all` - POST /v1/agents/{id}/tests/runs.<br/>
Expand Down Expand Up @@ -170,6 +178,11 @@ public sealed partial class TtsAgentTestSuiteRun
/// was run. Set for the `run_all` trigger; null for `batch`,<br/>
/// which can span many agents.
/// </param>
/// <param name="agentName">
/// Display name of `agent_id`'s agent, resolved at read time.<br/>
/// Null whenever `agent_id` is null, and on the suite run<br/>
/// embedded in run/resubmit creation responses.
/// </param>
/// <param name="parentSuiteRunId">
/// Set on a `resubmit`: the prefixed `srun_&lt;crockford&gt;` id of<br/>
/// the suite run whose failed/errored tests this one re-ran.<br/>
Expand Down Expand Up @@ -203,6 +216,7 @@ public TtsAgentTestSuiteRun(
int pendingCount,
global::System.DateTime createdAt,
string? agentId,
string? agentName,
string? parentSuiteRunId,
global::System.DateTime? completedAt,
global::Speechify.OneOf<global::Speechify.TtsTestRunConfigOverride, object>? configOverride,
Expand All @@ -211,6 +225,7 @@ public TtsAgentTestSuiteRun(
{
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.AgentId = agentId;
this.AgentName = agentName;
this.Trigger = trigger;
this.ParentSuiteRunId = parentSuiteRunId;
this.Status = status;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ public sealed partial class TtsAgentTestSuiteRunWithRuns
[global::System.Text.Json.Serialization.JsonPropertyName("agent_id")]
public string? AgentId { get; set; }

/// <summary>
/// Display name of `agent_id`'s agent, resolved at read time.<br/>
/// Null whenever `agent_id` is null, and on the suite run<br/>
/// embedded in run/resubmit creation responses.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("agent_name")]
public string? AgentName { get; set; }

/// <summary>
/// Which entry point created a suite run.<br/>
/// - `run_all` - POST /v1/agents/{id}/tests/runs.<br/>
Expand Down Expand Up @@ -173,6 +181,11 @@ public sealed partial class TtsAgentTestSuiteRunWithRuns
/// was run. Set for the `run_all` trigger; null for `batch`,<br/>
/// which can span many agents.
/// </param>
/// <param name="agentName">
/// Display name of `agent_id`'s agent, resolved at read time.<br/>
/// Null whenever `agent_id` is null, and on the suite run<br/>
/// embedded in run/resubmit creation responses.
/// </param>
/// <param name="parentSuiteRunId">
/// Set on a `resubmit`: the prefixed `srun_&lt;crockford&gt;` id of<br/>
/// the suite run whose failed/errored tests this one re-ran.<br/>
Expand Down Expand Up @@ -207,6 +220,7 @@ public TtsAgentTestSuiteRunWithRuns(
global::System.DateTime createdAt,
global::System.Collections.Generic.IList<global::Speechify.TtsSuiteChildRun> runs,
string? agentId,
string? agentName,
string? parentSuiteRunId,
global::System.DateTime? completedAt,
global::Speechify.OneOf<global::Speechify.TtsTestRunConfigOverride, object>? configOverride,
Expand All @@ -215,6 +229,7 @@ public TtsAgentTestSuiteRunWithRuns(
{
this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id));
this.AgentId = agentId;
this.AgentName = agentName;
this.Trigger = trigger;
this.ParentSuiteRunId = parentSuiteRunId;
this.Status = status;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ namespace Speechify
{
/// <summary>
/// One child run inside a suite run, carrying the parent test's<br/>
/// name so the grouped result view can label each row.
/// name and the target agent's name so the grouped result view can<br/>
/// label each row. The agent name disambiguates results when the<br/>
/// suite spans multiple agents.
/// </summary>
public sealed partial class TtsSuiteChildRun
{
Expand Down Expand Up @@ -88,6 +90,13 @@ public sealed partial class TtsSuiteChildRun
[global::System.Text.Json.Serialization.JsonRequired]
public required string TestName { get; set; }

/// <summary>
/// Display name of the agent this run executed against.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("agent_name")]
[global::System.Text.Json.Serialization.JsonRequired]
public required string AgentName { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
/// </summary>
Expand Down Expand Up @@ -124,6 +133,9 @@ public sealed partial class TtsSuiteChildRun
/// <param name="testName">
/// Name of the test this run executed.
/// </param>
/// <param name="agentName">
/// Display name of the agent this run executed against.
/// </param>
/// <param name="startedAt"></param>
/// <param name="completedAt"></param>
/// <param name="result">
Expand All @@ -142,6 +154,7 @@ public TtsSuiteChildRun(
global::Speechify.TtsTestRunStatus status,
global::System.DateTime createdAt,
string testName,
string agentName,
global::System.DateTime? startedAt,
global::System.DateTime? completedAt,
global::Speechify.OneOf<global::Speechify.TtsTestRunResult, object>? result,
Expand All @@ -157,6 +170,7 @@ public TtsSuiteChildRun(
this.Error = error;
this.CreatedAt = createdAt;
this.TestName = testName ?? throw new global::System.ArgumentNullException(nameof(testName));
this.AgentName = agentName ?? throw new global::System.ArgumentNullException(nameof(agentName));
}

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion src/libs/Speechify/openapi.yaml

Large diffs are not rendered by default.