id, model, and complete(request, context).
ModelRequest carries messages and tools. ModelContext carries signal. Honor signal.aborted.
ModelResponse:
scriptedModel(responses, options?)
Returns a Model that yields responses in order. options.id defaults to "scripted". options.model defaults to "scripted-1". invocations counts completed calls. A missing response throws. Use this in tests and in the quickstart. It is not a production model.
Cactus
cactusModel from @larkxai/react-native/cactus returns a Model. See Cactus. No other inference provider is shipped.
There is no cloud-model adapter in the public SDK. A remote model belongs behind your own Model or behind a remote agent, and you have to accept that those calls leave the device.