forked from strands-agents/sdk-python
-
Notifications
You must be signed in to change notification settings - Fork 0
sdk main #7
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
Draft
dbschmigelski
wants to merge
221
commits into
main
Choose a base branch
from
sdk-main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
sdk main #7
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…#505) Similar to strands-agents/pull/475 but using a dedicated github icon. The github icon is the lite logo but copied/renamed to make it dedicated to github
…ents#515) Co-authored-by: jer <[email protected]>
These were necessary when we had conditional running but we switched to needing to approve all workflows for non-maintainers, so we no longer need these. Co-authored-by: Mackenzie Zastrow <[email protected]>
…ectory (strands-agents#517) - Add new section showcasing Agent(load_tools_from_directory=True) functionality - Document automatic tool loading and reloading from ./tools/ directory - Include practical code example for developers - Improve discoverability of this development feature
Fixes issue strands-agents#50 Customers naturally want to pass nested collections of tools - the above issue has gathered enough data points proving that.
…ts#524) * feat(a2a): support mounts for containerized deployments * feat(a2a): escape hatch for load balancers which strip paths * feat(a2a): formatting --------- Co-authored-by: jer <[email protected]>
* Update bedrock.py * Update anthropic.py
Co-authored-by: ketan-clairyon <[email protected]> Co-authored-by: Dean Schmigelski <[email protected]>
…-agents#581) Co-authored-by: Jeremiah <[email protected]>
strands-agents#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]>
… are ready to be worked on (strands-agents#595)
Co-authored-by: jer <[email protected]>
Co-authored-by: jer <[email protected]>
…okens to prevent unrecoverable state (strands-agents#607)
…trands-agents#657) Co-authored-by: Harry Wilton <[email protected]>
…rands-agents#643) Previously (strands-agents#642) bedrock would hang during message conversion because the exception was not being caught and thus the queue was always empty. Now all exceptions during conversion are caught Co-authored-by: Mackenzie Zastrow <[email protected]>
…andler (strands-agents#1211) Make the verbose description and counting of tool use optional in PrintingCallbackHandler. --------- Co-authored-by: Dean Schmigelski <[email protected]>
* fix: fix swarm session management integ test. * share thread context (strands-agents#1146) * async hooks (strands-agents#1119) * fix: remove debug lines --------- Co-authored-by: Patrick Gray <[email protected]>
…trands-agents#1231) * fix(mcp): protect connection on non-fatal client side timeout error * remove empty _MCP_CLIENT.md * remove print statements * remove test
…t_token not cache_creation_tokens (strands-agents#1233)
…ands-agents#1213) --------- Co-authored-by: Dean Schmigelski <[email protected]>
Introduce bidirectional streaming capabilities to Strands SDK, enabling real-time voice and audio conversations with AI models through persistent streaming connections. Bidirectional streaming moves beyond traditional request-response patterns by maintaining long-running conversations where users can interrupt, provide continuous input, and receive real-time audio responses. This implementation is marked as experimental as we refine the API based on user feedback and evolving model capabilities. --------- Co-authored-by: Murat Kaan Meral <[email protected]> Co-authored-by: Patrick Gray <[email protected]>
…nds-agents#1280) --------- Co-authored-by: John Tristan <[email protected]>
…manager (strands-agents#1274) * Remove toolUse message when its missing due to pagination in session manager
strands-agents#1290) * fix(agent): Return structured output JSON when AgentResult has no text When AgentResult has no text content but structured_output is present, __str__() now returns the JSON serialization of the structured output instead of an empty string. This fixes output propagation in multi-agent graphs where structured output was being lost. Changes: - Modified AgentResult.__str__() to fall back to structured_output.model_dump_json() - Added unit test test__str__empty_message_with_structured_output to verify fix - All existing tests pass, maintaining backward compatibility strands-agents#1118
We keep getting warnings about odd indentation; this takes care of that Co-authored-by: Mackenzie Zastrow <[email protected]>
996e86f to
17a2839
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
invoke_asyncfunction inAgentclass. [for better VS Code hover] (docs: improve docstring formatting strands-agents/sdk-python#846)Description
Related Issues
Documentation PR
Type of Change
Bug fix
New feature
Breaking change
Documentation update
Other (please describe):
Testing
How have you tested the change? Verify that the changes do not break functionality or introduce warnings in consuming repositories: agents-docs, agents-tools, agents-cli
hatch run prepareChecklist
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.