load_ssl_context verify=True cert=None trust_env=True http2=False
load_verify_locations cafile='/usr/local/lib/python3.10/dist-packages/certifi/cacert.pem'
Traceback (most recent call last):
File "/home/zack/code/swarms/example.py", line 19, in
node = Worker(
File "/home/zack/code/swarms/swarms/workers/worker.py", line 85, in init
self.setup_tools(external_tools)
File "/home/zack/code/swarms/swarms/workers/worker.py", line 138, in setup_tools
qa_chain=load_qa_with_sources_chain(self.llm)
File "/usr/local/lib/python3.10/dist-packages/langchain/chains/qa_with_sources/loading.py", line 182, in load_qa_with_sources_chain
return _func(llm, verbose=verbose, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/langchain/chains/qa_with_sources/loading.py", line 61, in _load_stuff_chain
llm_chain = LLMChain(llm=llm, prompt=prompt, verbose=verbose)
File "/usr/local/lib/python3.10/dist-packages/langchain/load/serializable.py", line 75, in init
super().init(**kwargs)
File "/usr/local/lib/python3.10/dist-packages/pydantic/v1/main.py", line 341, in init
raise validation_error
pydantic.v1.error_wrappers.ValidationError: 1 validation error for LLMChain
llm
value is not a valid dict (type=type_error.dict)
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too