From 383c4d27df0763cb0cc6f64ecd2a52577a7fb6db Mon Sep 17 00:00:00 2001 From: Kye Date: Sat, 23 Sep 2023 16:05:33 -0400 Subject: [PATCH] toolz cleanup Former-commit-id: d98dfb2ff746471fb675e9f30d1fbc4cadd7aa81 --- swarms/tools/autogpt.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/swarms/tools/autogpt.py b/swarms/tools/autogpt.py index a0451060..1c1757c3 100644 --- a/swarms/tools/autogpt.py +++ b/swarms/tools/autogpt.py @@ -20,6 +20,8 @@ from langchain.tools import BaseTool from pydantic import Field from swarms.utils.logger import logger +from langchain.tools.file_management.write import WriteFileTool +from langchain.tools.file_management.read import ReadFileTool llm = ChatOpenAI(model_name="gpt-4", temperature=1.0) @@ -164,7 +166,6 @@ def compile(task: str): # mm model workers -import os import torch from PIL import Image