// Copyright (c) Microsoft. All rights reserved.
using Microsoft.Extensions.AI;
namespace Microsoft.Agents.AI.Hyperlight;
///
/// Controls the approval behavior for the execute_code tool exposed by
/// and .
///
public enum CodeActApprovalMode
{
///
/// execute_code always requires user approval before invocation.
///
AlwaysRequire,
///
/// Approval is derived from the provider-owned CodeAct tool registry.
/// If any configured tool is an
/// ,
/// execute_code also requires approval. Otherwise it does not.
///
NeverRequire,
}