pull/24/head
Kye 1 year ago
parent 3213f8736b
commit 0afbd13c83

@ -4,10 +4,9 @@
import concurrent.futures import concurrent.futures
import logging import logging
from swarms.swarms import HierarchicalSwarm
#this needs to change, we need to specify exactly what needs to be imported #this needs to change, we need to specify exactly what needs to be imported
from swarms.agents.tools.agent_tools import * from swarms.agents.tools.agent_tools import *
from swarms.swarms import HierarchicalSwarm
logging.basicConfig(level=logging.DEBUG, format='%(asctime)s - %(levelname)s - %(message)s') logging.basicConfig(level=logging.DEBUG, format='%(asctime)s - %(levelname)s - %(message)s')

@ -1,11 +1,11 @@
import logging
import asyncio import asyncio
import logging
from typing import Optional
from swarms.agents.models.hf import HuggingFaceLLM
from swarms.agents.tools.agent_tools import * from swarms.agents.tools.agent_tools import *
from swarms.workers.worker_node import WorkerNodeInitializer
from swarms.boss.boss_node import BossNodeInitializer as BossNode from swarms.boss.boss_node import BossNodeInitializer as BossNode
from swarms.workers.worker_node import WorkerNodeInitializer
from swarms.agents.models.hf import HuggingFaceLLM
# from langchain import LLMMathChain # from langchain import LLMMathChain
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s') logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')

@ -1,5 +1,7 @@
import pytest import pytest
from swarms.worker.omni_worker import OmniWorkerAgent # replace 'yourmodule' with the actual module name
from swarms.worker.omni_worker import OmniWorkerAgent
@pytest.fixture @pytest.fixture
def omni_worker(): def omni_worker():

Loading…
Cancel
Save