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 ec77cab9_9911_ca1a_5cb3_540089e4d74d["on_agent_finish_common()"] f0bf147f_92f7_4127_bab5_d25b15399ce6["BaseFakeCallbackHandlerMixin"] ec77cab9_9911_ca1a_5cb3_540089e4d74d -->|defined in| f0bf147f_92f7_4127_bab5_d25b15399ce6 69bf7c00_1d0e_1d48_af97_4ef50386ba2c["on_agent_finish()"] 69bf7c00_1d0e_1d48_af97_4ef50386ba2c -->|calls| ec77cab9_9911_ca1a_5cb3_540089e4d74d 33f353cc_c0e2_ecd0_bc04_7551f5aaa193["on_agent_finish()"] 33f353cc_c0e2_ecd0_bc04_7551f5aaa193 -->|calls| ec77cab9_9911_ca1a_5cb3_540089e4d74d style ec77cab9_9911_ca1a_5cb3_540089e4d74d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/partners/openai/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
Called By
Source
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/openai/tests/unit_tests/fake/callbacks.py.
Where is on_agent_finish_common() defined?
on_agent_finish_common() is defined in libs/partners/openai/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