We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
` def as_langchain_tool(self):
from langchain.agents.tools import Tool ..... return Tool( name=self.agent_model.info.get("name"), func=self.langchain_run, description=self.agent_model.info.get("description") + args_description )`
这里面可能由于langchain.agents.tools 包的升级,这行代码已经不适用了,运行使用工具的agent将会跑错。应该修改为: ` def as_langchain_tool(self):
from langchain.agents.tools import InvalidTool ...... return InvalidTool( name=self.agent_model.info.get("name"), func=self.langchain_run, description=self.agent_model.info.get("description") + args_description )`
The text was updated successfully, but these errors were encountered:
langchain = "0.1.20" langchain-core = "0.1.52" langchain-community = "0.0.38"
这个是目前v0.0.13版本au使用的langchain版本,可以检查一下是否一致。
Sorry, something went wrong.
No branches or pull requests
` def as_langchain_tool(self):
这里面可能由于langchain.agents.tools 包的升级,这行代码已经不适用了,运行使用工具的agent将会跑错。应该修改为:
` def as_langchain_tool(self):
The text was updated successfully, but these errors were encountered: