pull/626/head
Your Name 2 months ago
parent e927669f81
commit 94c71259b5

@ -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

@ -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 <kye@apac.ai>"]
@ -78,6 +78,7 @@ aiofiles = "*"
swarm-models = "*"
clusterops = "*"
chromadb = "*"
uvloop = "*"
reportlab = "*"
[tool.poetry.scripts]

@ -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

@ -52,7 +52,7 @@ from swarms.tools.tool_parse_exec import parse_and_execute_json
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 @@ class Agent:
# 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 @@ class Agent:
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,
)
Loading…
Cancel
Save