@ -15,9 +15,7 @@ class MySwarm(BaseSwarm):
# Add your custom swarm to the AutoSwarmRouter
router = AutoSwarmRouter(
swarms=[MySwarm]
)
router = AutoSwarmRouter(swarms=[MySwarm])
# Create an AutoSwarm instance
@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "swarms"
version = "4.6.8"
version = "4.6.9"
description = "Swarms - Pytorch"
license = "MIT"
authors = ["Kye Gomez <kye@apac.ai>"]
@ -38,6 +38,7 @@ from swarms.models.popular_llms import (
ReplicateLLM as Replicate,
from swarms.models.qwen import QwenVLMultiModal # noqa: E402
# from swarms.models.sam_supervision import SegmentAnythingMarkGenerator
from swarms.models.sampling_params import SamplingParams, SamplingType
from swarms.models.together import TogetherLLM # noqa: E402
@ -1,7 +1,7 @@
from __future__ import annotations
from abc import ABC, abstractmethod
from dataclasses import dataclass, field
from dataclasses import dataclass
import numpy as np
from typing import Callable
@ -80,7 +80,6 @@ from swarms.structs.utils import (
__all__ = [
"Agent",
"AgentJob",
@ -17,7 +17,6 @@ class AgentProcess(BaseModel):
status: str = "Waiting"
pid: int = None
def set_pid(self, pid: int):
self.pid = pid