mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
* feat: Implement Checkpointing API * refactor: Normalzie Namespaces and break out multi-class files * feat: Support checkpointing in AIAgentHostExecutor * test: Representation tests * feat: Add Step-level Tracing and WorkflowEvents * feat: Add Checkpointing Sample and Smoke Test * Fixes an issue where StateManager was not properly clearing the incoming queued updates. * Fixes order of checkpointing and in-step event publication * Adds import of RunContext state on LoadCheckpoint * Add re-firing of events for unserviced ExternalRequests on Checkpoint load * docs: Add documentation to publics * Also adds documentation to ICheckpointManager which may go public * refactor: Fix Union Aggregators and add Tests * fix: Fix issues raised in PR comments and remove dead code
15 lines
464 B
C#
15 lines
464 B
C#
// Copyright (c) Microsoft. All rights reserved.
|
|
|
|
namespace Microsoft.Agents.Workflows.Checkpointing;
|
|
|
|
internal class FanOutEdgeInfo(FanOutEdgeData data) : EdgeInfo(Edge.Type.FanOut, data.Connection)
|
|
{
|
|
public bool HasAssigner => data.EdgeAssigner != null;
|
|
|
|
protected override bool IsMatchInternal(EdgeData edgeData)
|
|
{
|
|
return edgeData is FanOutEdgeData fanOutEdge
|
|
&& this.HasAssigner == (fanOutEdge.EdgeAssigner != null);
|
|
}
|
|
}
|