Skip to main content

updateModelRegistry()

updateModelRegistry(modelId: string, request: UpdateModelRegistryRequest): Promise<CompanyModel>

Defined in: packages/core/src/index.ts:2859

Update a model in the registry

Parameters

ParameterTypeDescription
modelIdstringThe unique identifier of the model
requestUpdateModelRegistryRequestModel data to update

Returns

Promise<CompanyModel>

The updated model configuration

Throws

401 - Not authenticated

Throws

404 - Model not found

Example

import { updateModelRegistry } from "@cpod/sdk";

const updated = await updateModelRegistry("model-123", {
name: "GPT-4 Production",
});