Documentation / @agentick/apple / AppleModelProps
Interface: AppleModelProps
Defined in: apple-model.tsx:13
Props for AppleModel component.
Extends
Properties
bridgePath?
optionalbridgePath: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
customBlocks?
optionalcustomBlocks:Record<string,CustomBlockDefinition>
Defined in: types.ts:24
Custom blocks to intercept from model output. Forwarded to createAdapter.
Inherited from
AppleAdapterConfig.customBlocks
deltaTransform?
optionaldeltaTransform:DeltaTransformInput
Defined in: types.ts:26
User-facing delta transform. Forwarded to createAdapter.
Inherited from
AppleAdapterConfig.deltaTransform
model?
optionalmodel:string
Defined in: types.ts:22
Model identifier (default: "apple-foundation-3b")
Inherited from
onMount()?
optionalonMount: (ctx) =>void|Promise<void>
Defined in: apple-model.tsx:15
Optional callback when model is mounted
Parameters
ctx
ContextObjectModel
Returns
void | Promise<void>
onUnmount()?
optionalonUnmount: (ctx) =>void|Promise<void>
Defined in: apple-model.tsx:17
Optional callback when model is unmounted
Parameters
ctx
ContextObjectModel
Returns
void | Promise<void>