Wrapper function type for the wrapModelCall hook. Allows middleware to intercept and modify model execution. This enables you to:
WrapModelCallHook: (
request: ModelRequest<NormalizedSchemaInput<TSchema>, TContext>,
handler: WrapModelCallHandler<TSchema, TContext>
) => PromiseOrValue<AIMessage | Command>