diff --git a/dotnet/src/Microsoft.Agents.AI.Workflows/CheckpointInfo.cs b/dotnet/src/Microsoft.Agents.AI.Workflows/CheckpointInfo.cs index 33fd9c8e3a..25b1d8ce82 100644 --- a/dotnet/src/Microsoft.Agents.AI.Workflows/CheckpointInfo.cs +++ b/dotnet/src/Microsoft.Agents.AI.Workflows/CheckpointInfo.cs @@ -29,8 +29,13 @@ public sealed class CheckpointInfo : IEquatable /// hexadecimal format and sets the timestamp to the current UTC time. internal CheckpointInfo(string runId) : this(runId, Guid.NewGuid().ToString("N")) { } + /// + /// Initializes a new instance of the CheckpointInfo class with the specified run and checkpoint identifiers. + /// + /// The unique identifier for the run. Cannot be null or empty. + /// The unique identifier for the checkpoint. Cannot be null or empty. [JsonConstructor] - internal CheckpointInfo(string runId, string checkpointId) + public CheckpointInfo(string runId, string checkpointId) { this.RunId = Throw.IfNullOrEmpty(runId); this.CheckpointId = Throw.IfNullOrEmpty(checkpointId);