AgentRunResult
type AgentRunResult = { prompt: Prompt; status: "completed" | "interrupted";};Defined in: agent/src/agent/agent.run.ts:51
The outcome of AgentRun.run, AgentRun.resume or
AgentRun.reject: completed when the run finished, interrupted
when an action suspended it. In both cases prompt is the updated transcript.
Properties
Section titled “Properties”prompt
Section titled “prompt”prompt: Prompt;Defined in: agent/src/agent/agent.run.ts:53
status
Section titled “status”status: "completed" | "interrupted";Defined in: agent/src/agent/agent.run.ts:52