Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: strands-agents/sdk-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.6.0
Choose a base ref
...
head repository: strands-agents/sdk-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.7.0
Choose a head ref
  • 10 commits
  • 40 files changed
  • 9 contributors

Commits on Aug 27, 2025

  1. feat: Implement typed events internally (#745)

    Step 1/N for implementing typed-events; first just preserve the existing behaviors with no changes to the public api.
    
    A follow-up change will update how we invoke callbacks and pass invocation_state around, while this one just adds typed classes for events internally.
    
    ---------
    
    Co-authored-by: Mackenzie Zastrow <[email protected]>
    zastrowm and zastrowm authored Aug 27, 2025
    Configuration menu
    Copy the full SHA
    aa03b3d View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2025

  1. summarization manager - add summary prompt to messages (#698)

    * summarization manager - add summary prompt to messages
    
    * summarize conversation - assistant to user role
    
    * fix test
    
    * add period
    pgrayy authored Aug 28, 2025
    Configuration menu
    Copy the full SHA
    d9f8d8a View commit details
    Browse the repository at this point in the history
  2. feat: Use TypedEvent inheritance for callback behavior (#755)

    Move away from "callback" nested properties in the dict and explicitly passing invocation_state migrating to behaviors on the TypedEvent:
    
     - TypedEvent.is_callback_event for determining if an event should be yielded and or invoked in the callback
     - TypedEvent.prepare for taking in invocation_state
    
    Customers still only get dictionaries, as we decided that this will remain an implementation detail for the time being, but this makes the events typed all the way up until *just* before we yield events back to the caller
    
    ---------
    
    Co-authored-by: Mackenzie Zastrow <[email protected]>
    zastrowm and zastrowm authored Aug 28, 2025
    Configuration menu
    Copy the full SHA
    6dadbce View commit details
    Browse the repository at this point in the history
  3. feat: claude citation support with BedrockModel (#631)

    * feat: add citations to document content
    
    * feat: addes citation types
    
    * chore: remove uv.lock
    
    * test: add letter.pdf for test-integ
    
    * feat: working bedrock citations feature
    
    * feat: fail early for citations with incompatible models
    
    * fix: validates model ids with cross region inference ids
    
    * Apply suggestion from @Unshure
    
    Co-authored-by: Nick Clegg <[email protected]>
    
    * fix: addresses comments
    
    * removes client exception handling
    * moves citation into text elif
    * puts relative imports back
    
    * fix: tests failing
    
    * Update src/strands/models/bedrock.py
    
    Removes old comment
    
    Co-authored-by: Nick Clegg <[email protected]>
    
    * Update src/strands/models/bedrock.py
    
    Removes old comment
    
    Co-authored-by: Nick Clegg <[email protected]>
    
    * Update imports in bedrock.py
    
    Refactor imports in bedrock.py to include CitationsDelta.
    
    * feat: typed citation events
    
    ---------
    
    Co-authored-by: Nick Clegg <[email protected]>
    theagenticguy and Unshure authored Aug 28, 2025
    Configuration menu
    Copy the full SHA
    47faba0 View commit details
    Browse the repository at this point in the history
  4. feat: Enable hooks for MultiAgents (#760)

    It's been a customer ask and we don't have a pressing need to keep it restricted.
    
    The primary concern is that because agent's state is manipulated between invocations (state is reset) hooks designed for a single agent may not work for multi-agents. With documentation, we can guide folks to be aware of what happens rather than restricting it outright.
    
    ---------
    
    Co-authored-by: Mackenzie Zastrow <[email protected]>
    zastrowm and zastrowm authored Aug 28, 2025
    Configuration menu
    Copy the full SHA
    94b41b4 View commit details
    Browse the repository at this point in the history
  5. Add invocation_state to ToolContext (#761)

    Addresses issue #579, #750
    
    ---------
    
    Co-authored-by: Mackenzie Zastrow <[email protected]>
    zastrowm and zastrowm authored Aug 28, 2025
    Configuration menu
    Copy the full SHA
    b008cf5 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2025

  1. Configuration menu
    Copy the full SHA
    ae9d5ad View commit details
    Browse the repository at this point in the history
  2. fix: fix stop reason for bedrock model when stop_reason (#767)

    * fix: fix stop reason for bedrock model when stop_reason is end_turn in tool use response.
    
    * change logger info to warning, optimize if condition
    
    * fix: add unit tests
    
    ---------
    
    Co-authored-by: Jack Yuan <[email protected]>
    JackYPCOnline and JackYPCOnline authored Aug 29, 2025
    Configuration menu
    Copy the full SHA
    7a5caad View commit details
    Browse the repository at this point in the history
  3. fix: Fix tool result message event (#771)

    Expand the Unit Tests for the yielded event to verify actual tool calls - previous to this, the events were not being emitted because the test was bailing out due to mocked guard rails.  To better test the situation, we now have a much more extensive test for the successful tool call
    
    Co-authored-by: Mackenzie Zastrow <[email protected]>
    zastrowm and zastrowm authored Aug 29, 2025
    Configuration menu
    Copy the full SHA
    cb4b7fb View commit details
    Browse the repository at this point in the history
  4. fix: fix loading tools with same tool name (#772)

    * fix: fix loading tools with same tool name
    
    * simplify if condition
    
    ---------
    
    Co-authored-by: Jack Yuan <[email protected]>
    JackYPCOnline and JackYPCOnline authored Aug 29, 2025
    Configuration menu
    Copy the full SHA
    e7d95d6 View commit details
    Browse the repository at this point in the history
Loading