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

Entity Profile

Dependency Diagram

graph TD
  6230a9e5_2963_e3b0_b959_a5b18f7601af["on_agent_finish_common()"]
  bd0f558e_4f69_e5aa_d113_623bbeb51c3d["BaseFakeCallbackHandlerMixin"]
  6230a9e5_2963_e3b0_b959_a5b18f7601af -->|defined in| bd0f558e_4f69_e5aa_d113_623bbeb51c3d
  7618785f_3453_9e6f_c34e_8b4fdb38dda0["on_agent_finish()"]
  7618785f_3453_9e6f_c34e_8b4fdb38dda0 -->|calls| 6230a9e5_2963_e3b0_b959_a5b18f7601af
  a6d38ee2_39f5_972a_e197_195d247b3bb3["on_agent_finish()"]
  a6d38ee2_39f5_972a_e197_195d247b3bb3 -->|calls| 6230a9e5_2963_e3b0_b959_a5b18f7601af
  style 6230a9e5_2963_e3b0_b959_a5b18f7601af fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/core/tests/unit_tests/fake/callbacks.py lines 95–97

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

Domain

Subdomains

Frequently Asked Questions

What does on_agent_finish_common() do?
on_agent_finish_common() is a function in the langchain codebase, defined in libs/core/tests/unit_tests/fake/callbacks.py.
Where is on_agent_finish_common() defined?
on_agent_finish_common() is defined in libs/core/tests/unit_tests/fake/callbacks.py at line 95.
What calls on_agent_finish_common()?
on_agent_finish_common() is called by 2 function(s): on_agent_finish, on_agent_finish.

Analyze Your Own Codebase

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

Try Supermodel Free