vercel/ai · error
AI Gateway profile values were not supplied to the ACP bridg
Error message
AI Gateway profile values were not supplied to the ACP bridge.
What it means
Error "AI Gateway profile values were not supplied to the ACP bridge." thrown in vercel/ai.
Source
Thrown at packages/harness-acp/src/v1/bridge/index.ts:717
function resolveClientApp(): ACPClientApp {
const name = processEnv.AI_SDK_ACP_CLIENT_APP_NAME;
const version = processEnv.AI_SDK_ACP_CLIENT_APP_VERSION;
if (name == null || version == null) {
throw new Error('ACP client app values were not supplied to the bridge.');
}
return { name, version };
}
function resolveGatewayValues({
clientApp,
}: {
clientApp: ACPClientApp;
}): ACPGatewayValues {
const apiKey = processEnv.AI_SDK_ACP_GATEWAY_API_KEY;
const baseUrl = processEnv.AI_SDK_ACP_GATEWAY_BASE_URL;
if (apiKey == null || baseUrl == null) {
throw new Error(
'AI Gateway profile values were not supplied to the ACP bridge.',
);
}
return {
apiKey,
baseUrl,
clientAppName: clientApp.name,
clientAppVersion: clientApp.version,
};
}
function createChildEnvironment({
launchEnv,
implementationDir,
privateHome,
}: {
launchEnv: Readonly<Record<string, string>>;
implementationDir: string;View on GitHub (pinned to 69428b1f8b)
When it happens
Trigger: Thrown at packages/harness-acp/src/v1/bridge/index.ts:717 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of vercel/ai@69428b1f8b (2026-08-30).
Data as JSON: /api/errors/6822e47518bd0d51.
Report an issue: GitHub.