Theia API Documentation v1.77.0
    Preparing search index...
    interface ChatGptLanguageModelsManager {
        createOrUpdateLanguageModels(
            ...models: ChatGptModelDescription[],
        ): Promise<void>;
        getAvailableModels(): Promise<string[]>;
        removeLanguageModels(...modelIds: string[]): void;
        setProxyUrl(proxyUrl: string | undefined): void;
    }

    Implemented by

    Index
    • The models the signed in ChatGPT plan grants. Falls back to a built-in list while they cannot be determined, i.e. before the first sign in or when the endpoint listing them cannot be reached.

      Returns Promise<string[]>