Home / Function/ on_chain_start_common() — langchain Function Reference

on_chain_start_common() — langchain Function Reference

Architecture documentation for the on_chain_start_common() function in _utils.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  8fe759a2_c3e4_9e9a_b66b_f49ad3e7c3ee["on_chain_start_common()"]
  1f1fcf29_8ad8_638a_150e_be483deb6af3["BaseFakeCallbackHandlerMixin"]
  8fe759a2_c3e4_9e9a_b66b_f49ad3e7c3ee -->|defined in| 1f1fcf29_8ad8_638a_150e_be483deb6af3
  71bc8957_e840_cefe_5388_62adfe19e899["on_chain_start()"]
  71bc8957_e840_cefe_5388_62adfe19e899 -->|calls| 8fe759a2_c3e4_9e9a_b66b_f49ad3e7c3ee
  style 8fe759a2_c3e4_9e9a_b66b_f49ad3e7c3ee fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/partners/anthropic/tests/unit_tests/_utils.py lines 64–66

    def on_chain_start_common(self) -> None:
        self.chain_starts += 1
        self.starts += 1

Domain

Subdomains

Called By

Frequently Asked Questions

What does on_chain_start_common() do?
on_chain_start_common() is a function in the langchain codebase, defined in libs/partners/anthropic/tests/unit_tests/_utils.py.
Where is on_chain_start_common() defined?
on_chain_start_common() is defined in libs/partners/anthropic/tests/unit_tests/_utils.py at line 64.
What calls on_chain_start_common()?
on_chain_start_common() is called by 1 function(s): on_chain_start.

Analyze Your Own Codebase

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

Try Supermodel Free