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

Interface IAgentToolRunCatalog

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

Namespace: Cephalon.Abstractions.Agentics
Assembly: Cephalon.Abstractions.dll

Exposes the latest reported runtime state for agent-tool runs.

public interface IAgentToolRunCatalog

Gets the currently known agent-tool run states ordered by tool identifier and run identifier.

IReadOnlyList<AgentToolRunState> Runs { get; }

IReadOnlyList<AgentToolRunState>

Looks up one reported run-state entry by run identifier.

AgentToolRunState? GetByRunId(string runId)

runId string

The stable run identifier to resolve.

AgentToolRunState?

The current run state when one has been reported; otherwise, null.

Gets all reported run-state entries for one tool.

IReadOnlyList<AgentToolRunState> GetByToolId(string toolId)

toolId string

The stable tool identifier to resolve.

IReadOnlyList<AgentToolRunState>

The run states reported for the tool.

Attempts to look up one reported run-state entry by run identifier.

bool TryGet(string runId, out AgentToolRunState? state)

runId string

The stable run identifier to resolve.

state AgentToolRunState?

The current run state when one has been reported.

bool

true when one run-state entry is available; otherwise, false.