8000 Release v0.3.0 · strands-agents/sdk-python · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

v0.3.0

Latest
Compare
Choose a tag to compare
@zastrowm zastrowm released this 11 Jul 18:57
· 9 commits to main since this release
48bcd5b

Breaking Changes

  • Model Providers:

    • OpenAI and LiteLLM model providers no longer accept base64 encoded images. These providers will now handle base64 encoding of image bytes automatically. See issue #252.
    • Model providers now implement asynchronous functions. Custom model providers must be updated accordingly. See PR#306.
    • The API interface for model providers has been simplified to require only a single stream method implementation. See PR#400.
    • Model provider API interfaces have been relocated to the strands.models subpackage for improved organization. See PR#409.
  • Other breaking changes:

    • All classes or protocols requiring subclassing or implementation now include an additional kwargs argument for forward compatibility. See PR#413.
    • The max_parallel_tools parameter has been removed from the Agent class. Tools are now automatically invoked on thread-pools. See PR#391.
    • The load_tools_from_directory parameter of the Agent class now defaults to False meaning. Tools are no longer automatically loaded from the tools directory. To restore the old behavior, explicitly set this parameter to True . See PR#419.
    • The event_loop_cycle function is no longer available as a top-level import from strands, reflecting its internal nature. Direct event loop invocation is not recommended. See PR#415.
    • Automatic removal of dangling tool messages during Agent lifecycle has been discontinued to support future features. See PR#418.
    • AgentTool now implements a stream API instead of invoke and requires asynchronous implementation. See PR#345.

What's Changed

New Contributors

Full Changelog: v0.2.1...v0.3.0

0