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.
production → production
preview → staging
anything else (incl. dev/local/undefined) → undefined (floats to :latest)
Map a Vercel deployment env to LangSmith's reserved Environment tags (
staging/productionare moved via the LangSmith promotion UI). This is the opt-in bridge a Vercel-hosted app uses to populateLANGSMITH_PROMPT_TAGfromVERCEL_ENV— kept here as a pure mapping so the AI package itself never readsVERCEL_ENV.production→productionpreview→stagingundefined(floats to:latest)