KtorSwarmUiModelsRemoteDataSource
class KtorSwarmUiModelsRemoteDataSource(val api: SwarmUiModelsApi) : SwarmUiModelsRemoteDataSource(source)
Coordinates KtorSwarmUiModelsRemoteDataSource behavior in the SDAI data layer.
Author
Dmitriy Moroz
Throws
when the delegated operation cannot complete.
Functions
Link copied to clipboard
open suspend override fun fetchSwarmModels(baseUrl: String, sessionId: String, credentials: AuthorizationCredentials): List<SwarmUiModel>
Loads SDAI data through fetchSwarmModels.
Link copied to clipboard
open suspend override fun getNewSession(baseUrl: String, credentials: AuthorizationCredentials): String
Loads SDAI data through getNewSession.