ArliAiModelsRepository

Synchronizes and reads ArliAI checkpoint metadata.

Remote models are cached locally so setup and generation screens can keep showing the last known ArliAI list when a refresh fails.

Author

Dmitriy Moroz

Functions

Link copied to clipboard

Attempts a provider refresh and then returns the locally cached checkpoint list.

Link copied to clipboard
abstract suspend fun fetchModels()

Refreshes ArliAI checkpoint metadata from the provider and stores it locally.

Link copied to clipboard
abstract suspend fun getModels(): List<StableDiffusionModel>

Reads cached ArliAI checkpoint metadata.