UnsupportedModelVersionException
Namespace: Vercel.AI.Operations
public sealed class UnsupportedModelVersionException : AiSdkException, ISerializableThe model specification version is not supported.
Inheritance: object → Exception → AiSdkException
Implements: ISerializable
Constructors
Section titled “Constructors”UnsupportedModelVersionException(string, string, string)
Section titled “UnsupportedModelVersionException(string, string, string)”public UnsupportedModelVersionException(string version, string provider, string modelId)Creates the exception.
Parameters
| Name | Type | Description |
|---|---|---|
version |
string | |
provider |
string | |
modelId |
string |
Properties
Section titled “Properties”ModelId
Section titled “ModelId”public string ModelId { get; }Model id.
Value: string
Provider
Section titled “Provider”public string Provider { get; }Provider id.
Value: string
Version
Section titled “Version”public string Version { get; }Rejected specification version.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product