Home / Function/ on_agent_finish_common() — langchain Function Reference

on_agent_finish_common() — langchain Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  92727530_38f1_1bb7_1977_1703db1a5b19["on_agent_finish_common()"]
  1f1fcf29_8ad8_638a_150e_be483deb6af3["BaseFakeCallbackHandlerMixin"]
  92727530_38f1_1bb7_1977_1703db1a5b19 -->|defined in| 1f1fcf29_8ad8_638a_150e_be483deb6af3
  bfdd38d6_e857_55ae_7275_a7170b00d6ad["on_agent_finish()"]
  bfdd38d6_e857_55ae_7275_a7170b00d6ad -->|calls| 92727530_38f1_1bb7_1977_1703db1a5b19
  style 92727530_38f1_1bb7_1977_1703db1a5b19 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/partners/anthropic/tests/unit_tests/_utils.py lines 90–92

    def on_agent_finish_common(self) -> None:
        self.agent_ends += 1
        self.ends += 1

Domain

Subdomains

Called By

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free