We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bedrockOptions
This works:
createAmazonBedrock({ bedrockOptions: { region: env.BEDROCK_REGION, credentials: { accessKeyId: env.BEDROCK_ACCESS_KEY, secretAccessKey: env.BEDROCK_SECRET_KEY, }, }, })(model)
This works when running locally, but not when deploying to Vercel:
createAmazonBedrock({ region: env.BEDROCK_REGION, accessKeyId: env.BEDROCK_ACCESS_KEY, secretAccessKey: env.BEDROCK_SECRET_KEY, }, })(model)
I imagine the issue is that Vercel is setting a key that causes the error (https://vercel.com/docs/projects/environment-variables/reserved-environment-variables#allowed-environment-variables). But I didn't manage to track down the error. bedrockOptions worked for me though.
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
This works:
This works when running locally, but not when deploying to Vercel:
I imagine the issue is that Vercel is setting a key that causes the error (https://vercel.com/docs/projects/environment-variables/reserved-environment-variables#allowed-environment-variables). But I didn't manage to track down the error.
bedrockOptions
worked for me though.Code example
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: