AIDK API Reference / aidk-react / UseExecutionOptions
Interface: UseExecutionOptions ​
Defined in: packages/react/src/hooks/useExecution.ts:17
Properties ​
| Property | Type | Description | Defined in |
|---|---|---|---|
agentId | string | Agent ID to execute | packages/react/src/hooks/useExecution.ts:21 |
client | EngineClient | Engine client instance | packages/react/src/hooks/useExecution.ts:19 |
onComplete? | (result: any) => void | Callback when execution completes | packages/react/src/hooks/useExecution.ts:25 |
onError? | (error: Error) => void | Callback on error | packages/react/src/hooks/useExecution.ts:27 |
onEvent? | (event: EngineStreamEvent) => void | Callback for each stream event | packages/react/src/hooks/useExecution.ts:23 |