mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
.NET Workflows - Rename agent-provider and add comments (Declarative Workflows) (#3895)
* Renamed with comments * Fix rename arcs * Integration tests
This commit is contained in:
@@ -14,10 +14,10 @@ namespace Microsoft.Agents.AI.Workflows.Declarative.Kit;
|
||||
/// <param name="id">The executor id</param>
|
||||
/// <param name="session">Session to support formula expressions.</param>
|
||||
/// <param name="agentProvider">Provider for accessing and manipulating agents and conversations.</param>
|
||||
public abstract class AgentExecutor(string id, FormulaSession session, WorkflowAgentProvider agentProvider) : ActionExecutor(id, session)
|
||||
public abstract class AgentExecutor(string id, FormulaSession session, ResponseAgentProvider agentProvider) : ActionExecutor(id, session)
|
||||
{
|
||||
/// <summary>
|
||||
/// Invokes an agent using the provided <see cref="WorkflowAgentProvider"/>.
|
||||
/// Invokes an agent using the provided <see cref="ResponseAgentProvider"/>.
|
||||
/// </summary>
|
||||
/// <param name="context">The workflow execution context providing messaging and state services.</param>
|
||||
/// <param name="agentName">The name or identifier of the agent.</param>
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace Microsoft.Agents.AI.Workflows.Declarative.Kit;
|
||||
public abstract class RootExecutor<TInput> : Executor<TInput>, IResettableExecutor where TInput : notnull
|
||||
{
|
||||
private readonly IConfiguration? _configuration;
|
||||
private readonly WorkflowAgentProvider _agentProvider;
|
||||
private readonly ResponseAgentProvider _agentProvider;
|
||||
private readonly WorkflowFormulaState _state;
|
||||
private readonly Func<TInput, ChatMessage>? _inputTransform;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user