CustomAIModelSpec interface

Platform-resolved specification of a custom model. Extends ModelSpec with custom model-specific metadata. All fields are read-only. Reserved so custom-model-specific fields can be added without changing the SDK surface.

Properties

isRestricted

Whether access to the model is restricted and requires credential.

license

The license of the model, when known. SPDX license identifier, e.g. mit, apache-2.0.

maxContextLength

The maximum context length supported by the model, in tokens.

Property Details

isRestricted

Whether access to the model is restricted and requires credential.

isRestricted: boolean

Property Value

boolean

license

The license of the model, when known. SPDX license identifier, e.g. mit, apache-2.0.

license?: string

Property Value

string

maxContextLength

The maximum context length supported by the model, in tokens.

maxContextLength: number

Property Value

number