AddRegistryModelRequest
Example Usage
typescript
import { AddRegistryModelRequest } from "@meetkai/mka1/models/components";
let value: AddRegistryModelRequest = {
id: "<id>",
provider: "<value>",
modelId: "<id>",
apiFormat: "images",
created: 76302,
auth: {
type: "api-key",
},
capabilities: {
modalities: {
input: [
"image",
],
output: [
"image",
],
},
reasoning: false,
},
contextWindow: 504258,
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
id | string | ✔️ | N/A |
provider | string | ✔️ | N/A |
modelId | string | ✔️ | N/A |
publicName | string | ➖ | N/A |
aliases | string[] | ➖ | N/A |
displayName | string | ➖ | N/A |
baseUrl | string | ➖ | N/A |
apiFormat | components.ApiFormat | ✔️ | N/A |
created | number | ✔️ | N/A |
auth | components.Auth | ✔️ | N/A |
capabilities | components.Capabilities | ✔️ | N/A |
contextWindow | number | ✔️ | N/A |
rpm | number | ➖ | N/A |
defaultParams | components.DefaultParams | ➖ | N/A |
rerouteRules | components.RerouteRules[] | ➖ | N/A |
hidden | boolean | ➖ | N/A |
embeddingLimits | components.EmbeddingLimits | ➖ | N/A |
healthCheck | components.HealthCheck | ➖ | N/A |