Swarms

Latest version: v5.1.7

Safety actively analyzes 638452 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 23

1.2.2

- langchain experimental package

1.2.1

- codeintepretor api conflict

1.2.0

- from langchain_experimental.autonomous_agents import AutoGPT
- babyagi

1.1.41

Changelog

[Unreleased]

Added
- Added `CodeInterpreterTool` class to adhere to the provided `Tool` abstract base class. This new tool has flexible and reliable error handling and supports both synchronous and asynchronous operations.
- Enhanced `GooglePalm` class by making optional parameters for user inputs. This improves customization and flexibility.
- Comprehensive unit tests for the `OmniWorkerAgent` class have been added.
- Pytest fixtures and parameterization in unit tests to improve code reuse and readability.
- Improved code readability in the `MultiModalVisualAgentTool` class and added comprehensive unit tests.
- Enhanced the `WorkerUltraNode` and `WorkerUltraNodeInitializer` classes' test coverage by adding more test cases and edge cases.
- A GitHub Actions workflow file has been added to automatically run pytest tests upon each `push` event. This CI pipeline ensures the reliability of the codebase by preventing merging of breaking changes into the main branch.

Fixed
- Improved error handling for the `GooglePalm` class by incorporating exponential backoff retry logic to handle network and API-related issues.
- Fixed missing prompt arguments by transforming message objects to the dictionary format in `GooglePalm`.
- Unexpected Argument Error in `WorkerNode` has been fixed. The `WorkerNode` class was not expecting a `worker_name` argument which was passed to it during the initialization of the `HierarchicalSwarm` class. This bug was fixed by either removing the `worker_name` argument from the `WorkerNode` initialization in the `HierarchicalSwarm` class or by modifying the `__init__` method of the `WorkerNode` class to accept the `worker_name` argument.
- Fixed incorrect parameter type checking in `OmniWorkerAgent` class, methods now correctly validate types for required arguments. The method `chat` also now properly checks for `api_key`, `api_endpoint`, and `api_type`.
- Updated `MultiModalVisualAgentTool` class tests, the `_run` method was not being properly tested, as it was not being invoked with correct arguments.
- Fixed `WorkerUltraNode` class to handle invalid initialization arguments properly. Added appropriate type checking and error handling for better robustness.
- Improved error handling in `WorkerUltraNodeInitializer` class. Now, all methods have try-catch blocks to handle unexpected errors gracefully and provide useful error messages.

1.1.9

1.1.8

Page 4 of 23

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.