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
Same credentials used with Bedrock provider work in v1, but not in v2.
The problem may be related to this note, but I couldn't find a variation that worked: https://sdk.vercel.ai/providers/ai-sdk-providers/amazon-bedrock#migrating-to-ai-sdkamazon-bedrock-2x
I tried setting sessionToken to undefined explicitly too.
sessionToken
v1:
llmModel: createAmazonBedrock({ bedrockOptions: { region: env.BEDROCK_REGION, credentials: { accessKeyId: env.BEDROCK_ACCESS_KEY, secretAccessKey: env.BEDROCK_SECRET_KEY, }, }, })(model),
v2:
llmModel: createAmazonBedrock({ region: env.BEDROCK_REGION, accessKeyId: env.BEDROCK_ACCESS_KEY, secretAccessKey: env.BEDROCK_SECRET_KEY, })(model),
elie222/inbox-zero@18ffdad
@ai-sdk/amazon-bedrock v2.0.5
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
Same credentials used with Bedrock provider work in v1, but not in v2.
The problem may be related to this note, but I couldn't find a variation that worked:
https://sdk.vercel.ai/providers/ai-sdk-providers/amazon-bedrock#migrating-to-ai-sdkamazon-bedrock-2x
I tried setting
sessionToken
to undefined explicitly too.Code example
v1:
v2:
elie222/inbox-zero@18ffdad
AI provider
@ai-sdk/amazon-bedrock v2.0.5
Additional context
No response
The text was updated successfully, but these errors were encountered: