diff --git a/6_0_0.md b/6_0_0.md new file mode 100644 index 000000000..aae2e8ef7 --- /dev/null +++ b/6_0_0.md @@ -0,0 +1,59 @@ +# Swarms 6.0.0 - Performance & Reliability Update 🚀 + +We're excited to announce the release of Swarms 6.0.0, bringing significant improvements to performance, reliability, and developer experience. This release focuses on streamlining core functionalities while enhancing the overall stability of the framework. + +## 📦 Installation + +```bash +pip3 install -U swarms +``` + +## 🌟 Highlights + +### Agent Enhancements +- **Improved RAG Performance**: Significant improvements to Retrieval-Augmented Generation capabilities +- **Enhanced Prompt Generation**: Auto-generate prompt now incorporates name, description, and system prompt for more contextual interactions +- **Streamlined Architecture**: Cleaned up unused code for better performance and maintainability +- **Simplified State Management**: Consolidated state management methods into a single `load()` function + +### Tools & Execution +- **Optimized Environment Management**: Fixed multiple environment instantiation issue + - Environments now initialize once during `__init__` +- **New SwarmRouter Function**: Simplified routing mechanism + - Returns consolidated string output from all agents + - Improved coordination between swarm components + +## 💪 Performance Improvements +- Faster execution times +- Reduced memory footprint +- More reliable logging system +- Lightweight and efficient codebase + +## 🤝 Join Our Community + +### We're Hiring! +Join our growing team! We're currently looking for: +- Agent Engineers +- Developer Relations +- Infrastructure Engineers +- And more! + +### Get Involved +- ⭐ Star our repository +- 🔄 Fork the project +- 🛠 Submit pull requests +- 🐛 Report issues +- 💡 Share your ideas + +### Contact & Support +- 📧 Email: kye@swarms.world +- 🔗 Issues: [GitHub Issues](https://github.com/kyegomez/swarms/issues) + +## 🔜 What's Next? +Have ideas for features, bug fixes, or improvements? We'd love to hear from you! Reach out through our GitHub issues or email us directly. + +--- + +*Thank you to all our contributors and users who make Swarms better every day. Together, we're building the future of swarm intelligence.* + +#SwarmAI #OpenSource #AI #MachineLearning \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 8a2735585..ba6a87a40 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "swarms" -version = "6.0.0" +version = "6.0.1" description = "Swarms - Pytorch" license = "MIT" authors = ["Kye Gomez "] @@ -78,6 +78,7 @@ aiofiles = "*" swarm-models = "*" clusterops = "*" chromadb = "*" +uvloop = "*" reportlab = "*" [tool.poetry.scripts] diff --git a/requirements.txt b/requirements.txt index 8f9df9b91..680289802 100644 --- a/requirements.txt +++ b/requirements.txt @@ -13,6 +13,7 @@ pydantic==2.8.2 tenacity==8.5.0 Pillow==10.4.0 psutil +uvloop sentry-sdk python-dotenv opencv-python-headless diff --git a/swarms/structs/agent.py b/swarms/structs/agent.py index e70ac0a10..1375f57d5 100644 --- a/swarms/structs/agent.py +++ b/swarms/structs/agent.py @@ -52,7 +52,7 @@ from swarms.utils.data_to_text import data_to_text from swarms.utils.file_processing import create_file_in_folder from swarms.utils.pdf_to_text import pdf_to_text - +from swarms.artifacts.main_artifact import Artifact # Utils # Custom stopping condition @@ -566,6 +566,8 @@ def __init__( # Telemetry Processor to log agent data threading.Thread(target=self.log_agent_data).start() + + def check_if_no_prompt_then_autogenerate(self, task: str = None): """ @@ -2279,3 +2281,12 @@ def run( except Exception as e: logger.error(f"An error occurred during execution: {e}") raise e + + + def handle_artifacts(self, text: str, file_output_path: str, file_extension: str): + artifact = Artifact( + file_path=file_output_path, + file_type=file_extension, + contents=text, + + ) \ No newline at end of file