ข้ามไปยังเนื้อหา

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 IAgentToolDispatcher

ExecuteAsync(AgentToolExecutionRequest, CancellationToken)

Section titled “ ExecuteAsync(AgentToolExecutionRequest, CancellationToken)”

Executes one registered agent tool.

ValueTask<AgentToolExecutionResult> ExecuteAsync(AgentToolExecutionRequest request, CancellationToken cancellationToken = default)

request AgentToolExecutionRequest

The execution request to dispatch.

cancellationToken CancellationToken

The cancellation token for the current execution attempt.

ValueTask<AgentToolExecutionResult>

The result produced by the managed execution path.