refactor: Remove redundant method

This commit is contained in:
Aleksander Grygier 2025-11-29 23:18:24 +01:00
parent 360a5ed62b
commit acd3c58152
1 changed files with 0 additions and 16 deletions

View File

@ -108,22 +108,6 @@ export class ModelsService {
// Status // Status
// ───────────────────────────────────────────────────────────────────────────── // ─────────────────────────────────────────────────────────────────────────────
/**
* Get status of a specific model (ROUTER mode)
* @param modelId - Model identifier to check
*/
static async getStatus(modelId: string): Promise<ApiRouterModelsStatusResponse> {
const response = await fetch(`${base}/models/status?model=${encodeURIComponent(modelId)}`, {
headers: getJsonHeaders()
});
if (!response.ok) {
throw new Error(`Failed to get model status (status ${response.status})`);
}
return response.json() as Promise<ApiRouterModelsStatusResponse>;
}
/** /**
* Check if a model is loaded based on its metadata * Check if a model is loaded based on its metadata
*/ */