Vercel — AI · · 1 min read

Vercel Flags now supports JSON values

Mirrored from Vercel — AI for archival readability. Support the source by reading on the original site.

You can now store JSON values in Vercel Flags, extending the existing support for boolean, string, and number values. This allows you to collapse what used to take several related flags into a single feature flag.

For example, to A/B test how a different model performs, you can now define a single model flag. This allows you to manage one flag that serves the full object rather than managing ai_model, ai_temperature, and ai_max_tokens separately:

Use Vercel Flags to progressively route traffic to a new model, A/B test, or quickly switch models in case a provider is having issues.

Try it out or learn more about Vercel Flags.

Read more

Discussion (0)

Sign in to join the discussion. Free account, 30 seconds — email code or GitHub.

Sign in →

No comments yet. Sign in and be the first to say something.

More from Vercel — AI