useAgentRun
function useAgentRun(options): AgentRunValue;Defined in: react/src/hooks.ts:146
A run to watch and answer, such as a background agent’s: the same store as useChat, without
sending. Open it mid-run and it catches up from the host; open it after the run ended and it
shows how it ended.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options |
UseAgentRunOptions |