Interface IAgentToolDispatcher
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Abstractions.Agentics
Assembly: Cephalon.Abstractions.dll
Dispatches registered agent tools through Cephalon-managed execution, policy, and run-state services.
public interface IAgentToolDispatcherMethods
Section titled “Methods”ExecuteAsync(AgentToolExecutionRequest, CancellationToken)
Section titled “ ExecuteAsync(AgentToolExecutionRequest, CancellationToken)”Executes one registered agent tool.
ValueTask<AgentToolExecutionResult> ExecuteAsync(AgentToolExecutionRequest request, CancellationToken cancellationToken = default)Parameters
Section titled “Parameters”request AgentToolExecutionRequest
The execution request to dispatch.
cancellationToken CancellationToken
The cancellation token for the current execution attempt.
Returns
Section titled “Returns”ValueTask<AgentToolExecutionResult>
The result produced by the managed execution path.