KtorSwarmUiLorasRemoteDataSource

Coordinates KtorSwarmUiLorasRemoteDataSource behavior in the SDAI data layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(api: SwarmUiModelsApi)

Properties

Link copied to clipboard
private val api: SwarmUiModelsApi

Exposes the api value used by the SDAI data layer.

Functions

Link copied to clipboard
open suspend override fun fetchLoras(baseUrl: String, sessionId: String, credentials: AuthorizationCredentials): List<LoRA>

Loads SDAI data through fetchLoras.