{"record":{"id":"6822e47518bd0d51","repo":"vercel/ai","slug":"ai-gateway-profile-values-were-not-supplied-to-the","errorCode":null,"errorMessage":"AI Gateway profile values were not supplied to the ACP bridge.","messagePattern":"AI Gateway profile values were not supplied to the ACP bridge\\.","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/harness-acp/src/v1/bridge/index.ts","lineNumber":717,"sourceCode":"\nfunction resolveClientApp(): ACPClientApp {\n  const name = processEnv.AI_SDK_ACP_CLIENT_APP_NAME;\n  const version = processEnv.AI_SDK_ACP_CLIENT_APP_VERSION;\n  if (name == null || version == null) {\n    throw new Error('ACP client app values were not supplied to the bridge.');\n  }\n  return { name, version };\n}\n\nfunction resolveGatewayValues({\n  clientApp,\n}: {\n  clientApp: ACPClientApp;\n}): ACPGatewayValues {\n  const apiKey = processEnv.AI_SDK_ACP_GATEWAY_API_KEY;\n  const baseUrl = processEnv.AI_SDK_ACP_GATEWAY_BASE_URL;\n  if (apiKey == null || baseUrl == null) {\n    throw new Error(\n      'AI Gateway profile values were not supplied to the ACP bridge.',\n    );\n  }\n  return {\n    apiKey,\n    baseUrl,\n    clientAppName: clientApp.name,\n    clientAppVersion: clientApp.version,\n  };\n}\n\nfunction createChildEnvironment({\n  launchEnv,\n  implementationDir,\n  privateHome,\n}: {\n  launchEnv: Readonly<Record<string, string>>;\n  implementationDir: string;","sourceCodeStart":699,"sourceCodeEnd":735,"githubUrl":"https://github.com/vercel/ai/blob/69428b1f8b037e4d118fb4853428d5c4e620493c/packages/harness-acp/src/v1/bridge/index.ts#L699-L735","documentation":"Error \"AI Gateway profile values were not supplied to the ACP bridge.\" thrown in vercel/ai.","triggerScenarios":"Thrown at packages/harness-acp/src/v1/bridge/index.ts:717 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"69428b1f8b037e4d118fb4853428d5c4e620493c","analyzedAt":"2026-08-30T12:32:21.016Z","schemaVersion":2},"datasetVersion":"2026-08-30T13:17:10.514Z"}