engineModelsWithHttpInfo method
List the models the serving runtime holds, with each one's load state
Models lists the models the engine serves, each with its load state — the server's own model table (its standard list envelope, load status included), relayed verbatim.
Note: This method returns the HTTP Response.
Implementation
Future<Response> engineModelsWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/v1/engine/models';
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}