From be2b4e08122d338fd2c16777217159348d99a141 Mon Sep 17 00:00:00 2001 From: Kye Date: Fri, 11 Aug 2023 22:26:53 -0400 Subject: [PATCH] any type Former-commit-id: 95ccc45dbfd1189ae9a9d7ea3201a8a80c09fcc2 --- swarms/workers/vortex_worker.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/swarms/workers/vortex_worker.py b/swarms/workers/vortex_worker.py index 5c1b4302..3544eaa5 100644 --- a/swarms/workers/vortex_worker.py +++ b/swarms/workers/vortex_worker.py @@ -1,10 +1,10 @@ #aug 10 -#Vortex is the name of my Duck friend, ILY Vortex +#Vortex is the name of my Duck pet, ILY Vortex #Kye import logging import os -from typing import List, Optional, Union +from typing import List, Optional, Union, Any import faiss from langchain.agents import Tool @@ -36,7 +36,7 @@ class VortexWorkerAgent: def __init__(self, openai_api_key: str, llm: Optional[Union[InMemoryDocstore, ChatOpenAI]] = None, - tools: Optional[List[Tool]] = None, + tools: Optional[Any] = None, embedding_size: Optional[int] = 8192, worker_name: Optional[str] = "Vortex Worker Agent", worker_role: Optional[str] = "Assistant",