Theia API Documentation v1.77.0
    Preparing search index...

    Describes a model served by the ChatGPT subscription. The endpoint, the authentication and the request shape are fixed by the ChatGPT contract, so this carries no endpoint configuration.

    interface ChatGptModelDescription {
        id: string;
        maxRetries: number;
        model: string;
        serverSideCompactionEnabledByDefault?: boolean;
        serverSideCompactionTokenThresholdByDefault?: number;
    }
    Index
    id: string

    The identifier of the model which will be shown in the UI, of the form chatgpt/<model>.

    maxRetries: number

    Maximum number of retry attempts when a request fails.

    model: string

    The model ID as used by the ChatGPT endpoint.

    serverSideCompactionEnabledByDefault?: boolean

    Resolved global/provider default for server-side compaction.

    serverSideCompactionTokenThresholdByDefault?: number

    Optional input-token threshold; unset lets the provider choose.