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

fix token expire in aws client #1258

Closed
wants to merge 1 commit into from

Conversation

wudong
Copy link

@wudong wudong commented Feb 28, 2025

Description

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Checklist:

  • My code follows the patterns of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation

Additional context

Related Issues

Reviewers


Important

Fix AWS client token expiration by updating credential handling and model configurations in bedrock.ts and api.ts.

  • AWS Client Configuration:
    • In bedrock.ts, added ignoreCache: true to fromIni for AWS credentials to prevent token expiration issues.
  • Model Configuration:
    • Updated bedrockDefaultModelId in api.ts to a new ARN.
    • Commented out amazon.nova-pro-v1:0 model configuration in api.ts.

This description was created by Ellipsis for 0acae92. It will automatically update as commits are pushed.

@wudong wudong requested review from mrubens and cte as code owners February 28, 2025 00:12
Copy link

changeset-bot bot commented Feb 28, 2025

⚠️ No Changeset found

Latest commit: 0acae92

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Feb 28, 2025
@wudong wudong closed this Feb 28, 2025
@dosubot dosubot bot added the bug Something isn't working label Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant