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
  12c7d2ab_5388_0241_bb30_8cfd982ec05e["on_tool_error_common()"]
  f0bf147f_92f7_4127_bab5_d25b15399ce6["BaseFakeCallbackHandlerMixin"]
  12c7d2ab_5388_0241_bb30_8cfd982ec05e -->|defined in| f0bf147f_92f7_4127_bab5_d25b15399ce6
  0a639209_89a9_5e19_6e03_3bfb28db9296["on_tool_error()"]
  0a639209_89a9_5e19_6e03_3bfb28db9296 -->|calls| 12c7d2ab_5388_0241_bb30_8cfd982ec05e
  44396a60_e678_abe5_b7ec_9780445b74b0["on_tool_error()"]
  44396a60_e678_abe5_b7ec_9780445b74b0 -->|calls| 12c7d2ab_5388_0241_bb30_8cfd982ec05e
  style 12c7d2ab_5388_0241_bb30_8cfd982ec05e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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