docs: add missing import for tools docs (#27650)

## Description

Added missing import from `pydantic` in the tools docs
This commit is contained in:
Gabriel Faundez 2024-10-25 18:14:40 -03:00 committed by GitHub
parent 7bc4e320f1
commit ef27ce7a45
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -511,7 +511,7 @@
" CallbackManagerForToolRun,\n",
")\n",
"from langchain_core.tools import BaseTool\n",
"from pydantic import BaseModel\n",
"from pydantic import BaseModel, Field\n",
"\n",
"\n",
"class CalculatorInput(BaseModel):\n",