Skip to content

Documentation / @agentick/apple / AppleModelProps

Interface: AppleModelProps ​

Defined in: apple-model.tsx:13

Props for AppleModel component.

Extends ​

Properties ​

bridgePath? ​

optional bridgePath: string

Defined in: types.ts:20

Path to the compiled Swift bridge executable. Defaults to the binary compiled by the package's postinstall script.

Inherited from ​

AppleAdapterConfig.bridgePath


customBlocks? ​

optional customBlocks: Record<string, CustomBlockDefinition>

Defined in: types.ts:24

Custom blocks to intercept from model output. Forwarded to createAdapter.

Inherited from ​

AppleAdapterConfig.customBlocks


deltaTransform? ​

optional deltaTransform: DeltaTransformInput

Defined in: types.ts:26

User-facing delta transform. Forwarded to createAdapter.

Inherited from ​

AppleAdapterConfig.deltaTransform


model? ​

optional model: string

Defined in: types.ts:22

Model identifier (default: "apple-foundation-3b")

Inherited from ​

AppleAdapterConfig.model


onMount()? ​

optional onMount: (ctx) => void | Promise<void>

Defined in: apple-model.tsx:15

Optional callback when model is mounted

Parameters ​

ctx ​

ContextObjectModel

Returns ​

void | Promise<void>


onUnmount()? ​

optional onUnmount: (ctx) => void | Promise<void>

Defined in: apple-model.tsx:17

Optional callback when model is unmounted

Parameters ​

ctx ​

ContextObjectModel

Returns ​

void | Promise<void>

Released under the ISC License.