AIDK API Reference / aidk / CompleteProps
Interface: CompleteProps ​
Defined in: packages/core/src/jsx/components/complete.tsx:38
Props for Complete component
Extends ​
ComponentBaseProps
Properties ​
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
children? | | Element | Element[] | Children to render as the final output. Typically an <Assistant> message with the final answer. | - | packages/core/src/jsx/components/complete.tsx:43 |
isError? | boolean | Whether the completion is due to an error condition. If true, the reason is treated as an error message. | - | packages/core/src/jsx/components/complete.tsx:54 |
key? | string | number | Key for React-like reconciliation (optional). Used by compiler to track component instances across renders. | ComponentBaseProps.key | packages/core/src/jsx/jsx-types.ts:22 |
reason? | string | Reason for completion (optional, used for logging/debugging) | - | packages/core/src/jsx/components/complete.tsx:48 |
ref? | string | Reference name for accessing this component instance. Use com.getRef<ComponentType>('myRef') to access the instance. Example <Fork ref="myFork" input={forkInput} /> const fork = com.getRef<ForkComponent>('myFork'); | ComponentBaseProps.ref | packages/core/src/jsx/jsx-types.ts:16 |