Skip to content
New issue

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

Bedrock: correctly ignore ini cache. #104

Merged
merged 1 commit into from
May 10, 2024

Conversation

DavidSouther
Copy link
Owner

No description provided.

@@ -28,7 +28,11 @@ export async function generate(
LOGGER.level = ROOT_LOGGER.level;
LOGGER.format = ROOT_LOGGER.format;
const bedrock = new BedrockRuntimeClient({
credentials: fromIni({ ignoreCache: true }),
credentials: fromNodeProviderChain({
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Brief explanation about why fromIni didn't work?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aws/aws-sdk-js-v3#6086

The fromNodeProviderChain docs were confusing

@DavidSouther DavidSouther merged commit a2987de into main May 10, 2024
3 checks passed
@DavidSouther DavidSouther deleted the bug/bedrock/fromIniIgnoreCache branch May 10, 2024 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants