Theia API Documentation v1.65.0
    Preparing search index...
    interface VercelAiModelDescription {
        apiKey: undefined | string | true;
        enableStreaming: boolean;
        id: string;
        maxRetries: number;
        model: string;
        provider?: VercelAiProvider;
        supportsStructuredOutput: boolean;
        url?: string;
    }
    Index

    Properties

    apiKey: undefined | string | true

    The key for the model. If 'true' is provided the global provider API key will be used.

    enableStreaming: boolean

    Controls whether streaming is enabled for this model.

    id: string

    The identifier of the model which will be shown in the UI.

    maxRetries: number

    Maximum number of retry attempts when a request fails. Default is 3.

    model: string

    The model ID as used by the Vercel AI SDK.

    provider?: VercelAiProvider

    The provider of the model (openai, anthropic, etc.)

    supportsStructuredOutput: boolean

    Flag to configure whether the model supports structured output. Default is true.

    url?: string

    The API base URL where the model is hosted. If not provided the default provider endpoint will be used.