updateModelRegistry()
updateModelRegistry(
modelId:string,request:UpdateModelRegistryRequest):Promise<CompanyModel>
Defined in: packages/core/src/index.ts:2859
Update a model in the registry
Parameters
| Parameter | Type | Description |
|---|---|---|
modelId | string | The unique identifier of the model |
request | UpdateModelRegistryRequest | Model 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",
});