mirror of
https://github.com/hwchase17/langchain.git
synced 2025-05-30 11:39:03 +00:00
Lint
This commit is contained in:
parent
a6afd45c63
commit
01dbfc2bc7
@ -17,6 +17,9 @@ class BaseVectorStoreTool(BaseModel):
|
||||
vectorstore: VectorStore = Field(exclude=True)
|
||||
llm: BaseLanguageModel = Field(default_factory=lambda: OpenAI(temperature=0))
|
||||
|
||||
class Config(BaseTool.Config):
|
||||
pass
|
||||
|
||||
|
||||
def _create_description_from_template(values: Dict[str, Any]) -> Dict[str, Any]:
|
||||
values["description"] = values["template"].format(name=values["name"])
|
||||
|
Loading…
Reference in New Issue
Block a user