Skip to content

ListCustomModelsResponse

Response containing a list of all registered custom models.

Example Usage

typescript
import { ListCustomModelsResponse } from "@meetkai/mka1/models/components";

let value: ListCustomModelsResponse = {
  models: [
    {
      id: "cm_abc123",
      name: "my-local-llama",
      baseUrl: "http://localhost:8080/v1",
      capabilities: {
        chat: true,
        completion: true,
        embedding: false,
        image: false,
        transcription: false,
        speech: false,
      },
      isAvailable: true,
      lastHealthCheck: new Date("2024-01-15T10:30:00Z"),
      createdAt: new Date("2024-01-01T00:00:00Z"),
      updatedAt: new Date("2024-01-15T10:30:00Z"),
    },
  ],
};

Fields

FieldTypeRequiredDescription
modelscomponents.CustomModelResponse[]✔️Array of all registered custom models with their configurations and health status