AgentCallView constructor

AgentCallView(
  1. AgentToolCall call
)

Implementation

AgentCallView(AgentToolCall call)
  : callId = call.callId,
    name = call.name,
    argumentsJson = call.argumentsJson,
    acts = call.needsApproval,
    status = call.needsApproval
        ? AgentCallStatus.proposed
        : AgentCallStatus.running;