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

    Implements

    Index

    Constructors

    Properties

    _allowEnvironmentApiKey: boolean = false

    Whether a key found in the environment may be used. Withheld until the user confirms it, so the gate sits on the key itself: every path that reaches for one — discovery, a custom endpoint, a manually configured model — is covered, and revoking the consent takes effect at once.

    _apiKey: undefined | string
    _proxyUrl: undefined | string
    discoveryFetcher: ModelDiscoveryFetcher
    languageModelRegistry: LanguageModelRegistry
    logger: ILogger
    modelInfoCache: Map<string, Promise<ModelInfo>> = ...

    Cached /v1/models lookups keyed by ${baseURL}::${model}::${headers}, so a header change re-fetches through the new headers. Successful lookups are kept for the process lifetime; failed lookups are evicted so the next call retries.

    Accessors

    Methods