Contents

LanguageModelSession.GenerationError.assetsUnavailable(_:)

An error that indicates the assets required for the session are unavailable.

Declaration

case assetsUnavailable(LanguageModelSession.GenerationError.Context)

Discussion

This may happen if you forget to check model availability to begin with, or if the model assets are deleted. This can happen if the user disables AppleIntelligence while your app is running.

You may be able to recover from this error by retrying later after the device has freed up enough space to redownload model assets.

See Also

Generation errors