Custom Communication Flows
New Features
- Custom Communication Flows: Create custom
SendMessage
tool classes for agents to communicate with each other. Learn more async_mode
Parameter inBaseTool.ToolConfig
: Setasync_mode="threading"
directly inToolConfig
ofBaseTool
classes, instead of at the Agency level. This allows you to execute only certain tools asynchronously.output_as_result
Parameter inBaseTool.ToolConfig
: When set totrue
,agency.get_completion
will return the tool’s output instead of the message.
Bug Fixes & Improvements
- Thread Initialization: Optimized by removing redundant thread fetches when loading threads from IDs.
New Contributors
- @trichards1300 made their first contribution in #70
Full Changelog: v0.3.1...v0.4.0