8000 fix: set user-agent for Bedrock API calls by clareliguori · Pull Request #23 · strands-agents/sdk-python · GitHub
[go: up one dir, main page]

Skip to content

fix: set user-agent for Bedrock API calls #23

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

Merged
merged 1 commit into from
May 16, 2025

Conversation

clareliguori
Copy link
Contributor

This change adds "strands-agents" to the user agent for API calls to Bedrock. The user-agent shows up in CloudTrail logs, enabling users to understand where Bedrock calls are coming from.

Testing

[How have you tested the change?]

  • hatch fmt --linter
  • hatch fmt --formatter
  • hatch test --all
  • Verify that the changes do not break functionality or introduce warnings in consuming repositories: agents-docs, agents-tools, agents-cli

Checklist

  • I have read the CONTRIBUTING document
  • I have added tests that prove my fix is effective or my feature works
  • I have updated the documentation accordingly
  • I have added an appropriate example to the documentation to outline the feature
  • My changes generate no new warnings
  • Any dependent changes have been merged and published

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@clareliguori clareliguori requested a review from a team as a code owner May 16, 2025 22:00
@clareliguori clareliguori merged commit e769450 into strands-agents:main May 16, 2025
12 checks passed
Unshure added a commit that referenced this pull request May 17, 2025
* fix: Update the PyPI package description (#15)

To match the GitHub repository title

* README: add link to llama user guide (#18)

* fix: Update readme to include badges (#17)

Add common badges for python projects

Co-authored-by: Mackenzie Zastrow <zastrowm@users.noreply.github.com>

* actions: fix docs dispatch (#19)

* actions: remove dispatch docs (#22)

* fix: set user-agent for Bedrock API calls (#23)

* v0.1.1 release

---------

Co-authored-by: Mackenzie Zastrow <3211021+zastrowm@users.noreply.github.com>
Co-authored-by: Xi Yan <xiyan@meta.com>
Co-authored-by: Mackenzie Zastrow <zastrowm@users.noreply.github.com>
Co-authored-by: Patrick Gray <pgrayy@amazon.com>
Co-authored-by: Clare Liguori <liguori@amazon.com>
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
0