Former-commit-id: ff130257f8
group-chat
Kye 1 year ago
parent 8edc233a8b
commit 19575befaf

@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry] [tool.poetry]
name = "swarms" name = "swarms"
version = "1.6.3" version = "1.6.5"
description = "Swarms - Pytorch" description = "Swarms - Pytorch"
license = "MIT" license = "MIT"
authors = ["Kye Gomez <kye@apac.ai>"] authors = ["Kye Gomez <kye@apac.ai>"]
@ -44,7 +44,6 @@ pydantic = "*"
tenacity = "*" tenacity = "*"
redis = "*" redis = "*"
Pillow = "*" Pillow = "*"
shapeless="*"
chromadb = "*" chromadb = "*"
agent-protocol = "*" agent-protocol = "*"
exxa = "*" exxa = "*"

@ -17,7 +17,6 @@ faiss-cpu
openai openai
google-generativeai google-generativeai
duckduckgo-search duckduckgo-search
shapeless
agent-protocol agent-protocol
chromadb chromadb
exxa exxa

@ -10,7 +10,6 @@ from swarms.tools.autogpt import (
ReadFileTool, ReadFileTool,
WriteFileTool, WriteFileTool,
process_csv, process_csv,
# web_search,
query_website_tool, query_website_tool,
compile, compile,
VQAinference VQAinference
@ -41,9 +40,11 @@ class Worker:
try: try:
self.llm = ChatOpenAI(model_name=model_name, self.llm = ChatOpenAI(
openai_api_key=self.openai_api_key, model_name=model_name,
temperature=self.temperature) openai_api_key=self.openai_api_key,
temperature=self.temperature
)
except Exception as error: except Exception as error:
raise RuntimeError(f"Error Initializing ChatOpenAI: {error}") raise RuntimeError(f"Error Initializing ChatOpenAI: {error}")

Loading…
Cancel
Save