Skip to content

AIDK API Reference / aidk-react / UseExecutionOptions

Interface: UseExecutionOptions ​

Defined in: packages/react/src/hooks/useExecution.ts:17

Properties ​

PropertyTypeDescriptionDefined in
agentIdstringAgent ID to executepackages/react/src/hooks/useExecution.ts:21
clientEngineClientEngine client instancepackages/react/src/hooks/useExecution.ts:19
onComplete?(result: any) => voidCallback when execution completespackages/react/src/hooks/useExecution.ts:25
onError?(error: Error) => voidCallback on errorpackages/react/src/hooks/useExecution.ts:27
onEvent?(event: EngineStreamEvent) => voidCallback for each stream eventpackages/react/src/hooks/useExecution.ts:23

Released under the MIT License.