Former-commit-id: 2a02a44513
group-chat
Kye 1 year ago
parent adc0f24f10
commit 8a513b8f16

@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "swarms"
version = "1.6.2"
version = "1.6.3"
description = "Swarms - Pytorch"
license = "MIT"
authors = ["Kye Gomez <kye@apac.ai>"]

@ -21,6 +21,8 @@ shapeless
agent-protocol
chromadb
exxa
open-interpreter
mkdocs
mkdocs-material

@ -140,4 +140,11 @@ query_website_tool = WebpageQATool(qa_chain=load_qa_with_sources_chain(llm))
# # @tool
# code_intepret = CodeInterpreter()
import interpreter
@tool
def compile(task: str):
task = interpreter.chat(task)
interpreter.chat()

@ -1,6 +1,6 @@
import interpreter
def compile(task):
def compile(task: str):
task = interpreter.chat(task)
interpreter.chat()

@ -12,6 +12,7 @@ from swarms.tools.autogpt import (
process_csv,
# web_search,
query_website_tool,
compile
)
from swarms.utils.decorators import error_decorator, log_decorator, timing_decorator
@ -78,6 +79,7 @@ class Worker:
#email
#pdf
# Tool(name="Goal Decomposition Tool", func=todo_chain.run, description="Use Case: Decompose ambitious goals into as many explicit and well defined tasks for an AI agent to follow. Rules and Regulations, don't use this tool too often only in the beginning when the user grants you a mission."),
compile
]
if external_tools is not None:
self.tools.extend(external_tools)

Loading…
Cancel
Save