cancelProcess

open override fun cancelProcess(): ERROR CLASS: Unresolved name: cancelProcess

Stops generation started by sendMessageAsync, so that closing does not block until it finishes. The conversation cannot be reused afterwards and must be closed.