// Copyright (c) Microsoft. All rights reserved.
namespace Microsoft.Agents.AI.Workflows;
///
/// Configuration options for Executor behavior.
///
public class ExecutorOptions
{
///
/// The default runner configuration.
///
public static ExecutorOptions Default { get; } = new();
internal ExecutorOptions() { }
///
/// If , the result of a message handler that returns a value will be sent as a message from the executor.
///
public bool AutoSendMessageHandlerResultObject { get; set; } = true;
///
/// If , the result of a message handler that returns a value will be yielded as an output of the executor.
///
public bool AutoYieldOutputHandlerResultObject { get; set; } = true;
}