Home / Function/ on_tool_error_common() — langchain Function Reference

on_tool_error_common() — langchain Function Reference

Architecture documentation for the on_tool_error_common() function in fake_callback_handler.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  76cf9788_8661_4afc_f05f_61b94b16efd9["on_tool_error_common()"]
  ea671d84_7d08_f3b7_3eb4_b59396ea8e29["BaseFakeCallbackHandlerMixin"]
  76cf9788_8661_4afc_f05f_61b94b16efd9 -->|defined in| ea671d84_7d08_f3b7_3eb4_b59396ea8e29
  962d715b_e121_5bb9_84cf_7de55359d204["on_tool_error()"]
  962d715b_e121_5bb9_84cf_7de55359d204 -->|calls| 76cf9788_8661_4afc_f05f_61b94b16efd9
  9b26afa0_2fcf_3776_a52d_a826df48203d["on_tool_error()"]
  9b26afa0_2fcf_3776_a52d_a826df48203d -->|calls| 76cf9788_8661_4afc_f05f_61b94b16efd9
  style 76cf9788_8661_4afc_f05f_61b94b16efd9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain/tests/unit_tests/callbacks/fake_callback_handler.py lines 85–86

    def on_tool_error_common(self) -> None:
        self.errors += 1

Domain

Subdomains

Frequently Asked Questions

What does on_tool_error_common() do?
on_tool_error_common() is a function in the langchain codebase, defined in libs/langchain/tests/unit_tests/callbacks/fake_callback_handler.py.
Where is on_tool_error_common() defined?
on_tool_error_common() is defined in libs/langchain/tests/unit_tests/callbacks/fake_callback_handler.py at line 85.
What calls on_tool_error_common()?
on_tool_error_common() is called by 2 function(s): on_tool_error, on_tool_error.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free