Skip to content

Tags: strands-agents/sdk-python

Tags

v1.5.0

Toggle v1.5.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: add cached token metrics support for Amazon Bedrock (#531)

* feat: add cached token metrics support for Amazon Bedrock

- Add optional cacheReadInputTokens and cacheWriteInputTokens fields to Usage TypedDict
- Update EventLoopMetrics to accumulate cached token metrics
- Add OpenTelemetry instrumentation for cached token telemetry
- Enhance metrics summary display to show cached token information
- Maintain 100% backward compatibility with existing Usage objects
- Add comprehensive test coverage for cached token functionality

Resolves #529

* feat: updated cached read/write input token metrics

---------

Co-authored-by: poshinchen <pschen@amazon.com>

v1.4.0

Toggle v1.4.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(structured_output): do not modify conversation_history when promp…

…t is passed (#628)

v1.3.0

Toggle v1.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(event_loop): raise dedicated exception when encountering max toke… (

#576)

* fix(event_loop): raise dedicated exception when encountering max tokens stop reason

* fix: update integ tests

* fix: rename exception message, add to exception, move earlier in cycle

* Update tests_integ/test_max_tokens_reached.py

Co-authored-by: Nick Clegg <nac542@gmail.com>

* Update tests_integ/test_max_tokens_reached.py

Co-authored-by: Nick Clegg <nac542@gmail.com>

* linting

---------

Co-authored-by: Nick Clegg <nac542@gmail.com>

v1.2.0

Toggle v1.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat(mcp): Add list_prompts, get_prompt methods (#160)

Co-authored-by: ketan-clairyon <ketan@clairyon.com>
Co-authored-by: Dean Schmigelski <dbschmigelski+github@gmail.com>

v1.1.0

Toggle v1.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: include agent trace into tool for agent as tools (#526)

v1.0.1

Toggle v1.0.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(telemetry): group traces when using agent as tool in an agent, fi…

…xed instrumentation bug (#493)

v1.0.0

Toggle v1.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: remove preview from README.md (#459)

v0.3.0

Toggle v0.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore!: set Agent property load_tools_from_directory to default to Fa…

…lse (#419)

BREAKING CHANGE: load_tools_from_directory will now default to False

v0.2.1

Toggle v0.2.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
tools - parallel execution - sleep (#355)

v0.2.0

Toggle v0.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
executor - run tools - yield (#328)