new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

AI SDK · Providers · all subjects

vercel/setup

6 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

Vercel provider module installation

The Vercel provider is available via the @ai-sdk/vercel module and can be installed as a package dependency.

Vercel provider default instance import

The default provider instance can be imported directly from @ai-sdk/vercel using: import { vercel } from '@ai-sdk/vercel';

Vercel provider customization with createVercel

A customized provider instance can be created using: import { createVercel } from '@ai-sdk/vercel'; const vercel = createVercel({ apiKey: process.env.VERCEL_API_KEY ?? '' });

Vercel provider configuration options

The createVercel function accepts the following optional settings: baseURL (string, default https://api.v0.dev/v1) to use a different URL prefix for API calls; apiKey (string, defaults to VERCEL_API_KEY environment variable) for the Authorization header; headers (Record<string,string>) for custom headers; fetch ((input: RequestInfo, init?: RequestInit) => Promise<Response>) for custom fetch implementation that defaults to the global fetch function.

Vercel API key creation location

Vercel API keys can be created at v0.dev in the chat settings under the keys section.

Vercel v0 API beta status and requirements

The v0 API is currently in beta and requires a Premium or Team plan with usage-based billing enabled. Higher limits can be requested by contacting Vercel at support@v0.dev.

Give your agent this brain