run-llama / llama-lab

1.39k stars 169 forks source link

__init__() takes exactly 1 positional argument (2 given) in llama_agi/examples/auto_runner_example.py #34

Open entin-hun opened 7 months ago

entin-hun commented 7 months ago

Dear Community, Can someone please suggest what's the error and how to solve it? Would be awesome to connect it with LLama_Hub context loaders.

Traceback (most recent call last): File "/Users/mac-pro/llama-lab/llama_agi/examples/auto_runner_example.py", line 45, in task_manager = LlamaTaskManager( ^^^^^^^^^^^^^^^^^ File "/Users/mac-pro/llama-lab/llama_agi/llama_agi/task_manager/LlamaTaskManager.py", line 40, in init super().__init__( File "/Users/mac-pro/llama-lab/llama_agi/llama_agi/task_manager/base.py", line 41, in init self.current_tasks = [Document(x) for x in tasks] ^^^^^^^^^^^ File "pydantic/main.py", line 332, in pydantic.main.BaseModel.init def __init__(__pydantic_self__, **data: Any) -> None: