From ff130257f8c65ff4e4e664c699c0d860fdd89bd8 Mon Sep 17 00:00:00 2001 From: Kye Date: Sat, 23 Sep 2023 17:17:07 -0400 Subject: [PATCH] clean up --- pyproject.toml | 3 +-- requirements.txt | 1 - swarms/workers/worker.py | 9 +++++---- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 1b67b9b8..7bd8e952 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "swarms" -version = "1.6.3" +version = "1.6.5" description = "Swarms - Pytorch" license = "MIT" authors = ["Kye Gomez "] @@ -44,7 +44,6 @@ pydantic = "*" tenacity = "*" redis = "*" Pillow = "*" -shapeless="*" chromadb = "*" agent-protocol = "*" exxa = "*" diff --git a/requirements.txt b/requirements.txt index 51a55095..138a9de9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -17,7 +17,6 @@ faiss-cpu openai google-generativeai duckduckgo-search -shapeless agent-protocol chromadb exxa diff --git a/swarms/workers/worker.py b/swarms/workers/worker.py index 4b5b5754..0b94da26 100644 --- a/swarms/workers/worker.py +++ b/swarms/workers/worker.py @@ -10,7 +10,6 @@ from swarms.tools.autogpt import ( ReadFileTool, WriteFileTool, process_csv, - # web_search, query_website_tool, compile, VQAinference @@ -41,9 +40,11 @@ class Worker: try: - self.llm = ChatOpenAI(model_name=model_name, - openai_api_key=self.openai_api_key, - temperature=self.temperature) + self.llm = ChatOpenAI( + model_name=model_name, + openai_api_key=self.openai_api_key, + temperature=self.temperature + ) except Exception as error: raise RuntimeError(f"Error Initializing ChatOpenAI: {error}")