docs: Fixed broken link in the warning message to @tool API Reference… (#28437)

Fixed the broken hyperlink in the warning of docstring section to the
correct `@tool` API reference
This commit is contained in:
Zapiron
2024-12-09 12:29:08 +08:00
committed by GitHub
parent 1fc4ac32f0
commit 220b33df7f

View File

@@ -294,7 +294,7 @@
"metadata": {},
"source": [
":::caution\n",
"By default, `@tool(parse_docstring=True)` will raise `ValueError` if the docstring does not parse correctly. See [API Reference](https://python.langchain.com/api_reference/core/tools/langchain_core.tools.tool.html) for detail and examples.\n",
"By default, `@tool(parse_docstring=True)` will raise `ValueError` if the docstring does not parse correctly. See [API Reference](https://python.langchain.com/api_reference/core/tools/langchain_core.tools.convert.tool.html) for detail and examples.\n",
":::"
]
},