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
  876c902d_da6e_7275_58b1_066603c7a785["on_agent_finish_common()"]
  b46b67ea_0820_a4b9_6da3_4ac83ea72454["BaseFakeCallbackHandlerMixin"]
  876c902d_da6e_7275_58b1_066603c7a785 -->|defined in| b46b67ea_0820_a4b9_6da3_4ac83ea72454
  76d17de9_ab4d_350b_3625_15927994a71f["on_agent_finish()"]
  76d17de9_ab4d_350b_3625_15927994a71f -->|calls| 876c902d_da6e_7275_58b1_066603c7a785
  332fc6d5_e26f_ba3f_97b1_121ecd43449a["on_agent_finish()"]
  332fc6d5_e26f_ba3f_97b1_121ecd43449a -->|calls| 876c902d_da6e_7275_58b1_066603c7a785
  style 876c902d_da6e_7275_58b1_066603c7a785 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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