Circle V2 API Docs
    Preparing search index...

    Function vercelEnvToPromptTag

    • Map a Vercel deployment env to LangSmith's reserved Environment tags (staging / production are moved via the LangSmith promotion UI). This is the opt-in bridge a Vercel-hosted app uses to populate LANGSMITH_PROMPT_TAG from VERCEL_ENV — kept here as a pure mapping so the AI package itself never reads VERCEL_ENV.

      • productionproduction
      • previewstaging
      • anything else (incl. dev/local/undefined) → undefined (floats to :latest)

      Parameters

      • vercelEnv: string | undefined

      Returns string | undefined