Home / Function/ on_llm_error_common() — langchain Function Reference

on_llm_error_common() — langchain Function Reference

Architecture documentation for the on_llm_error_common() function in callbacks.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  c053755d_b5a8_353d_3875_9bfca00fe4ac["on_llm_error_common()"]
  b46b67ea_0820_a4b9_6da3_4ac83ea72454["BaseFakeCallbackHandlerMixin"]
  c053755d_b5a8_353d_3875_9bfca00fe4ac -->|defined in| b46b67ea_0820_a4b9_6da3_4ac83ea72454
  5e3db865_7cc9_4ae5_1dde_07225470255b["on_llm_error()"]
  5e3db865_7cc9_4ae5_1dde_07225470255b -->|calls| c053755d_b5a8_353d_3875_9bfca00fe4ac
  bfa8bde3_b14b_29f9_6ffa_0d10d5479072["on_llm_error()"]
  bfa8bde3_b14b_29f9_6ffa_0d10d5479072 -->|calls| c053755d_b5a8_353d_3875_9bfca00fe4ac
  style c053755d_b5a8_353d_3875_9bfca00fe4ac fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/partners/groq/tests/unit_tests/fake/callbacks.py lines 59–61

    def on_llm_error_common(self, *args: Any, **kwargs: Any) -> None:
        self.errors += 1
        self.errors_args.append({"args": args, "kwargs": kwargs})

Domain

Subdomains

Frequently Asked Questions

What does on_llm_error_common() do?
on_llm_error_common() is a function in the langchain codebase, defined in libs/partners/groq/tests/unit_tests/fake/callbacks.py.
Where is on_llm_error_common() defined?
on_llm_error_common() is defined in libs/partners/groq/tests/unit_tests/fake/callbacks.py at line 59.
What calls on_llm_error_common()?
on_llm_error_common() is called by 2 function(s): on_llm_error, on_llm_error.

Analyze Your Own Codebase

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

Try Supermodel Free