mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
77e5f527c4
* Clean up stale mentions of M.E.AI.Agents * Unused usings
18 lines
644 B
C#
18 lines
644 B
C#
// Copyright (c) Microsoft. All rights reserved.
|
|
|
|
namespace Microsoft.Agents.AI.Workflows;
|
|
|
|
/// <summary>
|
|
/// Sent to an <see cref="AIAgent"/>-based executor to request
|
|
/// a response to accumulated <see cref="Extensions.AI.ChatMessage"/>.
|
|
/// </summary>
|
|
/// <param name="emitEvents">Whether to raise AgentRunEvents for this executor.</param>
|
|
public class TurnToken(bool? emitEvents = null)
|
|
{
|
|
/// <summary>
|
|
/// Gets a value indicating whether events are emitted by the receiving executor. If the
|
|
/// value is not set, defaults to the configuration in the executor.
|
|
/// </summary>
|
|
public bool? EmitEvents => emitEvents;
|
|
}
|