forked from Azure/azure-sdk-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathExecutionResult.cs
More file actions
25 lines (19 loc) · 852 Bytes
/
ExecutionResult.cs
File metadata and controls
25 lines (19 loc) · 852 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
namespace Azure.Sdk.Tools.Cli.Benchmarks.Models;
/// <summary>
/// Result of executing a benchmark scenario.
/// </summary>
public class ExecutionResult
{
/// <summary>Whether the execution completed successfully (no errors).</summary>
public bool Completed { get; init; }
/// <summary>Error message if execution failed.</summary>
public string? Error { get; init; }
/// <summary>Duration of the execution.</summary>
public TimeSpan Duration { get; init; }
/// <summary>The conversation messages from the session.</summary>
public IReadOnlyList<object> Messages { get; init; } = [];
/// <summary>Tool calls made during execution.</summary>
public IReadOnlyList<ToolCallRecord> ToolCalls { get; init; } = [];
}