ok. I think this is causing problems for me when u...
# marvin-ai
d
ok. I think this is causing problems for me when using LangChain Tools: @classmethod def from_lc_tool(cls, tool: langchain_core.tools.BaseTool, **kwargs): if isinstance(tool, langchain_core.tools.StructuredTool): fn = tool.func else: fn = lambda *a, **k: None # noqa return cls( name=tool.name, description=tool.description, parameters=tool.args_schema.schema(), fn=fn, **kwargs, )