mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
647db9635a
* Renaming Microsoft.Agent.Workflows to Microsoft.Agents.AI.Workflows * Removing local settings. * Removing remining old files from merge.
27 lines
870 B
C#
27 lines
870 B
C#
// Copyright (c) Microsoft. All rights reserved.
|
|
|
|
namespace Microsoft.Agents.AI.Workflows;
|
|
|
|
/// <summary>
|
|
/// Configuration options for Executor behavior.
|
|
/// </summary>
|
|
public class ExecutorOptions
|
|
{
|
|
/// <summary>
|
|
/// The default runner configuration.
|
|
/// </summary>
|
|
public static ExecutorOptions Default { get; } = new();
|
|
|
|
internal ExecutorOptions() { }
|
|
|
|
/// <summary>
|
|
/// If <see langword="true"/>, the result of a message handler that returns a value will be sent as a message from the executor.
|
|
/// </summary>
|
|
public bool AutoSendMessageHandlerResultObject { get; set; } = true;
|
|
|
|
/// <summary>
|
|
/// If <see langword="true"/>, the result of a message handler that returns a value will be yielded as an output of the executor.
|
|
/// </summary>
|
|
public bool AutoYieldOutputHandlerResultObject { get; set; } = true;
|
|
}
|