Tags: strands-agents/sdk-python
Tags
fix: only add signature to reasoning blocks if signature is provided (#… …806) * fix: only add signature to reasoning blocks if signature is provided --------- Co-authored-by: Mackenzie Zastrow <[email protected]> Co-authored-by: Dean Schmigelski <[email protected]>
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 <[email protected]>
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 <[email protected]> * Update tests_integ/test_max_tokens_reached.py Co-authored-by: Nick Clegg <[email protected]> * linting --------- Co-authored-by: Nick Clegg <[email protected]>
feat(mcp): Add list_prompts, get_prompt methods (#160) Co-authored-by: ketan-clairyon <[email protected]> Co-authored-by: Dean Schmigelski <[email protected]>
PreviousNext