Creative Analyzer - v0.0.1
    Preparing search index...

    Function mapUpstreamStatus

    • Map an upstream HTTP status to the status the caller surfaces. Exported for tests.

      • 429 passes through (rate-limit signal the caller can act on)
      • Everything else from Gemini → 502 (opaque upstream failure)

      Parameters

      • upstreamStatus: number

      Returns number