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

    Runs a provider's model discovery: asks it what it offers, retries a transient failure, and keeps the answer as a snapshot so the models survive a later failure or an offline start.

    Implements

    Index

    Constructors

    Properties

    logger: ILogger
    maxAttempts: number = 3

    Number of attempts (including the first) for a discovery fetch on a retryable error.

    retryDelayMs: number = 500

    Base linear backoff between attempts; multiplied by the number of the attempt that failed.

    snapshotStore: ModelSnapshotStore

    Methods