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 callbacks.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  b3340805_72f0_87a2_34d1_fa95dd8e35cc["on_tool_error_common()"]
  bd0f558e_4f69_e5aa_d113_623bbeb51c3d["BaseFakeCallbackHandlerMixin"]
  b3340805_72f0_87a2_34d1_fa95dd8e35cc -->|defined in| bd0f558e_4f69_e5aa_d113_623bbeb51c3d
  39c2695f_456f_12f0_f7aa_2023eda4b079["on_tool_error()"]
  39c2695f_456f_12f0_f7aa_2023eda4b079 -->|calls| b3340805_72f0_87a2_34d1_fa95dd8e35cc
  037454c0_3031_6e8a_1134_daf5366a6924["on_tool_error()"]
  037454c0_3031_6e8a_1134_daf5366a6924 -->|calls| b3340805_72f0_87a2_34d1_fa95dd8e35cc
  style b3340805_72f0_87a2_34d1_fa95dd8e35cc fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/core/tests/unit_tests/fake/callbacks.py lines 88–89

    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/core/tests/unit_tests/fake/callbacks.py.
Where is on_tool_error_common() defined?
on_tool_error_common() is defined in libs/core/tests/unit_tests/fake/callbacks.py at line 88.
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