main 0.5.3
Kye 2 years ago
parent 0fc60e7abd
commit 7b353698f9

@ -7,7 +7,7 @@ from typing import Dict, List
from fastapi.templating import Jinja2Templates from fastapi.templating import Jinja2Templates
from swarms.agents.workers.agents import AgentManager from swarms.agents.workers.agents import AgentManager
from swarms.utils import BaseHandler, FileHandler, FileType, StaticUploader, CsvToDataframe from swarms.utils.utils import BaseHandler, FileHandler, FileType, StaticUploader, CsvToDataframe
from swarms.tools.main import BaseToolSet, ExitConversation, RequestsGet, CodeEditor, Terminal from swarms.tools.main import BaseToolSet, ExitConversation, RequestsGet, CodeEditor, Terminal

@ -4,7 +4,7 @@ from setuptools import setup, find_packages
setup( setup(
name = 'swarms', name = 'swarms',
packages = find_packages(exclude=[]), packages = find_packages(exclude=[]),
version = '0.5.2', version = '0.5.3',
license='MIT', license='MIT',
description = 'Swarms - Pytorch', description = 'Swarms - Pytorch',
author = 'Kye Gomez', author = 'Kye Gomez',

@ -47,8 +47,7 @@ from langchain.tools.human.tool import HumanInputRun
# from swarms.agents.workers.auto_agent import MultiModalVisualAgent # from swarms.agents.workers.auto_agent import MultiModalVisualAgent
# from swarms.agents.workers import multimodal_agent_tool # from swarms.agents.workers import multimodal_agent_tool
from swarms.tools import Terminal, CodeWriter, CodeEditor, process_csv, WebpageQATool from swarms.tools import Terminal, CodeWriter, CodeEditor, process_csv, WebpageQATool, math_tool
from swarms.tools import math_tool
openai_api_key = os.environ["OPENAI_API_KEY"] openai_api_key = os.environ["OPENAI_API_KEY"]

@ -224,7 +224,7 @@ from langchain.callbacks.base import BaseCallbackHandler
from langchain.schema import AgentAction, AgentFinish, LLMResult from langchain.schema import AgentAction, AgentFinish, LLMResult
from celery import Task from celery import Task
from swarms.utils import ANSI, Color, Style, dim_multiline, logger from swarms.utils.utils import ANSI, Color, Style, dim_multiline, logger
class EVALCallbackHandler(BaseCallbackHandler): class EVALCallbackHandler(BaseCallbackHandler):

@ -1,2 +1,2 @@
# from swarms.agents.workers import multimodal_agent_tool # from swarms.agents.workers import multimodal_agent_tool
from swarms.tools.main import Terminal, CodeWriter, CodeEditor, process_csv, WebpageQATool, math_tool, HumanInputRun, ReadFileTool, WriteFileTool, BaseTool, DuckDuckGoSearchRun # from swarms.tools.main import Terminal, CodeWriter, CodeEditor, process_csv, WebpageQATool, math_tool, HumanInputRun, ReadFileTool, WriteFileTool, BaseTool, DuckDuckGoSearchRun

@ -23,7 +23,7 @@ from bs4 import BeautifulSoup
# from logger import logger # from logger import logger
from swarms.utils import logger from swarms.utils.logger import logger
class ToolScope(Enum): class ToolScope(Enum):
GLOBAL = "global" GLOBAL = "global"
@ -435,7 +435,7 @@ import time
from datetime import datetime from datetime import datetime
from typing import Dict, List from typing import Dict, List
from swarms.utils import ANSI, Color, Style # test from swarms.utils.utils import ANSI, Color, Style # test
class Terminal(BaseToolSet): class Terminal(BaseToolSet):
def __init__(self): def __init__(self):

@ -1,3 +1,3 @@
from swarms.utils.ansi import Code, Color, Style, ANSI, dim_multiline # from swarms.utils.ansi import Code, Color, Style, ANSI, dim_multiline
from swarms.utils.logger import logger # from swarms.utils.logger import logger
from swarms.utils.utils import FileType, AbstractUploader, StaticUploader, BaseHandler, FileHandler, CsvToDataframe # from swarms.utils.utils import FileType, AbstractUploader, StaticUploader, BaseHandler, FileHandler, CsvToDataframe
Loading…
Cancel
Save