v0.2.6
版本发布时间: 2024-07-18 00:07:36
VRSEN/agency-swarm最新发布版本:v0.3.0(2024-08-21 01:07:11)
New Features
-
Async Tools - You can now set
async_mode
totools_threading
inside theAgency
class. With this mode on, all tool calls made by your agents will be executed in separate threads (max 4, depending on your CPU). This can signifincatly speed up the workflow when executing multiple I/O bound tasks. -
Concurrent API Calls - Now all API tools created with
schemas_folder
orToolFactory.from_openapi_schema
return coroutines, which are executed concurrently in an event loop. -
Async
BaseTool.run
Method Support - All async run methods in yourBaseTool
classes are now executed concurrently in an event loop as well. -
File Search Configuration - Added
file_search
configuration to theAgent
class - This parameter allows you to modify the configuration of theFileSearch
tool. Currently, only{max_num_results: int}
is available. See OpenAI API Docs -
Parallel Tool Call Controls - Added
parallel_tool_calls
parameter to theAgent
class - When set toFalse
, the agent won't call multiple tools at once and will execute all tools sequentially.
Bug Fixes
- Fixed bug with duplicate call IDs assignment when the agent calls the same tool multiple times and the request times out. #151
Full Changelog: https://github.com/VRSEN/agency-swarm/compare/v0.2.5...v0.2.6