Skip to content

UnsupportedModelVersionException

Namespace: Vercel.AI.Operations

public sealed class UnsupportedModelVersionException : AiSdkException, ISerializable

The model specification version is not supported.

Inheritance: object → Exception → AiSdkException

Implements: ISerializable

View source

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

View source

public string ModelId { get; }

Model id.

Value: string

View source

public string Provider { get; }

Provider id.

Value: string

View source

public string Version { get; }

Rejected specification version.

Value: string

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product