ModelCatalogEntry
One visible catalog row. Catalog rows marked hidden never reach the wire, so a client cannot select one.
Fields and variants
Section titled “Fields and variants”contextLimitcostdescriptiondisplayLabelisActiveisDefaultmodelIdoutputLimitprofileIdproviderIdreleaseDate
Source
schema/msp/experimental/msp.schema.json#/types/ModelCatalogEntry
{ "description": "One visible catalog row. Catalog rows marked hidden never\nreach the wire, so a client cannot select one.", "properties": { "contextLimit": { "description": "Context limit; `null` when the catalog source declared nothing.", "type": [ "integer", "null" ] }, "cost": { "anyOf": [ { "$ref": "#/$defs/ModelCost" }, { "type": "null" } ], "description": "Cost block; `null` when the catalog source declared nothing." }, "description": { "description": "Description; `null` when the catalog source declared nothing.", "type": [ "string", "null" ] }, "displayLabel": { "description": "Presentation label.", "type": "string" }, "isActive": { "description": "Marks the session's effective model when `sessionId` was supplied. May\nbe false for every row — a client MUST NOT assume exactly one.", "type": "boolean" }, "isDefault": { "description": "Marks the catalog's default row. May be false for every row.", "type": "boolean" }, "modelId": { "description": "The selectable model id.", "type": "string" }, "outputLimit": { "description": "Output limit; `null` when the catalog source declared nothing.", "type": [ "integer", "null" ] }, "profileId": { "description": "Provider profile; `null` when the catalog source declared nothing.", "type": [ "string", "null" ] }, "providerId": { "description": "Provider routing.", "type": "string" }, "releaseDate": { "description": "Release date; `null` when the catalog source declared nothing.", "type": [ "string", "null" ] } }, "required": [ "contextLimit", "cost", "description", "displayLabel", "isActive", "isDefault", "modelId", "outputLimit", "profileId", "providerId", "releaseDate" ], "type": "object"}