langchain
21b61aaf - fix(docs): Using appropriate argument name in ToolNode for error handling (#32586)

Commit
138 days ago
fix(docs): Using appropriate argument name in ToolNode for error handling (#32586) The appropriate `ToolNode` attribute for error handling is called `handle_tool_errors` instead of `handle_tool_error`. For further info see [ToolNode source code in LangGraph](https://github.com/langchain-ai/langgraph/blob/main/libs/prebuilt/langgraph/prebuilt/tool_node.py#L255) **Twitter handle:** gitaroktato - [x] **Add tests and docs**: If you're adding a new integration, you must include: 1. A test for the integration, preferably unit tests that do not rely on network access, 2. An example notebook showing its use. It lives in `docs/docs/integrations` directory. - [x] **Lint and test**: Run `make format`, `make lint` and `make test` from the root of the package(s) you've modified. **We will not consider a PR unless these three are passing in CI.** See [contribution guidelines](https://python.langchain.com/docs/contributing/) for more. Additional guidelines: - Make sure optional dependencies are imported within a function. - Please do not add dependencies to `pyproject.toml` files (even optional ones) unless they are **required** for unit tests. - Most PRs should not touch more than one package. - Changes should be backwards compatible.
Author
Parents
Loading