-
Notifications
You must be signed in to change notification settings - Fork 18.9k
Open
Labels
coreRelated to the package `langchain-core`Related to the package `langchain-core`help wantedGood issue for contributorsGood issue for contributorsv1Issue specific to LangChain 1.0Issue specific to LangChain 1.0
Milestone
Description
from langchain_core.tools import tool from pydantic import BaseModel class MyTool(BaseModel): """Parent Tool""" foo: str @tool class ChildTool(MyTool): bar: strFor 0.4 release we could consider updating the behavior so that doc-strings are not inherited from their parents. It's fairly odd that doc-strings are inherited for BaseModels as in general the descriptions need to be different
Metadata
Metadata
Assignees
Labels
coreRelated to the package `langchain-core`Related to the package `langchain-core`help wantedGood issue for contributorsGood issue for contributorsv1Issue specific to LangChain 1.0Issue specific to LangChain 1.0