engineSystemWithHttpInfo method
The serving host's own inventory: devices, memory and build capabilities
System reads the engine host's inventory: OS, CPU, memory, every accelerator device with its VRAM and compute capability, and the build's capabilities (CUDA/Metal/flash-attention) — the real hardware under the serving runtime, relayed verbatim.
Note: This method returns the HTTP Response.
Implementation
Future<Response> engineSystemWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/v1/engine/system';
// 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,
);
}