Skip to content

OpenAICompatibleInfo

Namespace: Vercel.AI.OpenAICompatible

public static class OpenAICompatibleInfo

Version token used in the OpenAI-compatible user-agent suffix.

Inheritance: object

View source

public static string UserAgent(string provider)

Builds the user-agent suffix for a provider package name.

Parameters

Name Type Description
provider string

Returns: string

View source

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