Files
agent-framework/dotnet/src/Microsoft.Agents.AI.Workflows/StatefulExecutorOptions.cs
T
Jacob Alber 331c750515 .NET: [BREAKING] Enable sharing of workflow instances across concurrently executing runs (#1464)
* refactor: remove unused internals

* feat: Execution Mode for sharing a workflow among concurrent runs

* feat: Update WorkflowHostAgent to support concurrent execution

* Also update AsAgent APIs to support injecting a CheckpointManager and an IWorkflowExecutionEnvironment

* fix: Make Read logic consistent in DeclarativeWorkflowContext
2025-10-15 21:34:17 +00:00

22 lines
635 B
C#

// Copyright (c) Microsoft. All rights reserved.
namespace Microsoft.Agents.AI.Workflows;
/// <summary>
/// .
/// </summary>
public class StatefulExecutorOptions : ExecutorOptions
{
/// <summary>
/// Gets or sets the unique key that identifies the executor's state. If not provided, will default to
/// `{ExecutorType}.State`.
/// </summary>
public string? StateKey { get; set; }
/// <summary>
/// Gets or sets the scope name to use for the executor's state. If not provided, the state will be
/// private to this executor instance.
/// </summary>
public string? ScopeName { get; set; }
}