Tyr Admission Controller - v0.36.1
    Preparing search index...

    Class RetryHintEstimator

    Index
    • Milliseconds the caller should wait, or undefined when Tyr cannot answer honestly.

      Parameters

      • pool: string
      • reason: LLMRejectReason
      • detail: LLMRejectDetail | undefined
      • nowMs: number

      Returns number | undefined

    • Record that a request finished and its capacity returned to the pool.

      releasedTokens is the reservation the request was holding; 0 when the pool has no token budget configured.

      Parameters

      • pool: string
      • releasedTokens: number
      • nowMs: number

      Returns void