Theia API Documentation v1.65.0
    Preparing search index...
    interface AnthropicModelDescription {
        apiKey: undefined | string | true;
        enableStreaming: boolean;
        id: string;
        maxRetries: number;
        maxTokens?: number;
        model: string;
        useCaching: boolean;
    }
    Index

    Properties

    apiKey: undefined | string | true

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

    enableStreaming: boolean

    Indicate whether the streaming API shall be used.

    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.

    maxTokens?: number

    Maximum number of tokens to generate. Default is 4096.

    model: string

    The model ID as used by the Anthropic API.

    useCaching: boolean

    Indicate whether the model supports prompt caching.