mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
22 lines
676 B
C#
22 lines
676 B
C#
// Copyright (c) Microsoft. All rights reserved.
|
|
|
|
using Microsoft.Extensions.AI.Agents;
|
|
|
|
namespace Microsoft.Agents.Orchestration;
|
|
|
|
/// <summary>
|
|
/// An orchestration that passes the input message to the first agent, and
|
|
/// then the subsequent result to the next agent, etc...
|
|
/// </summary>
|
|
public sealed class SequentialOrchestration : SequentialOrchestration<string, string>
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="SequentialOrchestration"/> class.
|
|
/// </summary>
|
|
/// <param name="members">The agents to be orchestrated.</param>
|
|
public SequentialOrchestration(params AIAgent[] members)
|
|
: base(members)
|
|
{
|
|
}
|
|
}
|