Table of Contents

Class AgentAsToolProvider

Namespace
Oscova.Agents.Providers
Assembly
Oscova.Agents.dll

Provides agent-as-tool functions from the child agents resolved for the parent build.

public class AgentAsToolProvider : AIContextProvider

Inheritance

AIContextProvider

Inherited Members

AIContextProvider.InvokingAsync(AIContextProvider.InvokingContext, CancellationToken)
AIContextProvider.InvokingCoreAsync(AIContextProvider.InvokingContext, CancellationToken)
AIContextProvider.ProvideAIContextAsync(AIContextProvider.InvokingContext, CancellationToken)
AIContextProvider.InvokedAsync(AIContextProvider.InvokedContext, CancellationToken)
AIContextProvider.InvokedCoreAsync(AIContextProvider.InvokedContext, CancellationToken)
AIContextProvider.StoreAIContextAsync(AIContextProvider.InvokedContext, CancellationToken)
AIContextProvider.GetService(Type, object?)
AIContextProvider.GetService<TService>(object?)
AIContextProvider.ProvideInputMessageFilter
AIContextProvider.StoreInputRequestMessageFilter
AIContextProvider.StoreInputResponseMessageFilter
AIContextProvider.StateKeys

Constructors

AgentAsToolProvider(IEnumerable<string>, AIAgentCollection)

Provides agent-as-tool functions from the child agents resolved for the parent build.

Methods

GetConversationsAsync(AIAgent, AgentSession, CancellationToken)

Reads the delegated conversations recorded in a parent session.

ProvideAIContextAsync(InvokingContext, CancellationToken)

When overridden in a derived class, provides additional AI context to be merged with the input context for the current invocation.