mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
.NET: Rename workflows projects (#975)
* Renaming Microsoft.Agent.Workflows to Microsoft.Agents.AI.Workflows * Removing local settings. * Removing remining old files from merge.
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
// Copyright (c) Microsoft. All rights reserved.
|
||||
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Microsoft.Extensions.Logging.Abstractions;
|
||||
using Microsoft.Shared.Diagnostics;
|
||||
|
||||
namespace Microsoft.Agents.AI.Workflows.Declarative;
|
||||
|
||||
/// <summary>
|
||||
/// Configuration options for workflow execution.
|
||||
/// </summary>
|
||||
public sealed class DeclarativeWorkflowOptions(WorkflowAgentProvider agentProvider)
|
||||
{
|
||||
/// <summary>
|
||||
/// Defines the agent provider.
|
||||
/// </summary>
|
||||
public WorkflowAgentProvider AgentProvider { get; } = Throw.IfNull(agentProvider, nameof(agentProvider));
|
||||
|
||||
/// <summary>
|
||||
/// Defines the configuration settings for the workflow.
|
||||
/// </summary>
|
||||
public IConfiguration? Configuration { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Optionally identifies a continued workflow conversation.
|
||||
/// </summary>
|
||||
public string? ConversationId { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Defines the maximum number of nested calls allowed in a PowerFx formula.
|
||||
/// </summary>
|
||||
public int? MaximumCallDepth { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Defines the maximum allowed length for expressions evaluated in the workflow.
|
||||
/// </summary>
|
||||
public int? MaximumExpressionLength { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the <see cref="ILoggerFactory"/> used to create loggers for workflow components.
|
||||
/// </summary>
|
||||
public ILoggerFactory LoggerFactory { get; init; } = NullLoggerFactory.Instance;
|
||||
}
|
||||
Reference in New Issue
Block a user