nexus-agents - v2.80.0
    Preparing search index...

    Interface AgentTurn

    One turn of the agent loop — model emits a tool call, harness resolves it, harness records the trace.

    interface AgentTurn {
        turnIndex: number;
        toolCall: AgenticToolCall;
        toolResult: AgenticToolResult;
        modelLatencyMs: number;
        toolLatencyMs: number;
        inputTokens?: number;
        outputTokens?: number;
    }
    Index

    Properties

    turnIndex: number
    toolCall: AgenticToolCall
    toolResult: AgenticToolResult
    modelLatencyMs: number

    Wall-clock time spent in the model API call that produced the tool call.

    toolLatencyMs: number

    Wall-clock time spent waiting for onToolCall to resolve.

    inputTokens?: number

    Provider-reported input tokens for this turn's API call (when available).

    outputTokens?: number

    Provider-reported output tokens for this turn's API call (when available).