on_agent_finish() — langchain Function Reference
Architecture documentation for the on_agent_finish() function in callbacks.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 7618785f_3453_9e6f_c34e_8b4fdb38dda0["on_agent_finish()"] 9659be4f_91d1_3b62_bcfb_38c048777165["FakeCallbackHandler"] 7618785f_3453_9e6f_c34e_8b4fdb38dda0 -->|defined in| 9659be4f_91d1_3b62_bcfb_38c048777165 a6d38ee2_39f5_972a_e197_195d247b3bb3["on_agent_finish()"] a6d38ee2_39f5_972a_e197_195d247b3bb3 -->|calls| 7618785f_3453_9e6f_c34e_8b4fdb38dda0 6230a9e5_2963_e3b0_b959_a5b18f7601af["on_agent_finish_common()"] 7618785f_3453_9e6f_c34e_8b4fdb38dda0 -->|calls| 6230a9e5_2963_e3b0_b959_a5b18f7601af a6d38ee2_39f5_972a_e197_195d247b3bb3["on_agent_finish()"] 7618785f_3453_9e6f_c34e_8b4fdb38dda0 -->|calls| a6d38ee2_39f5_972a_e197_195d247b3bb3 style 7618785f_3453_9e6f_c34e_8b4fdb38dda0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/core/tests/unit_tests/fake/callbacks.py lines 239–244
def on_agent_finish(
self,
*args: Any,
**kwargs: Any,
) -> Any:
self.on_agent_finish_common()
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does on_agent_finish() do?
on_agent_finish() is a function in the langchain codebase, defined in libs/core/tests/unit_tests/fake/callbacks.py.
Where is on_agent_finish() defined?
on_agent_finish() is defined in libs/core/tests/unit_tests/fake/callbacks.py at line 239.
What does on_agent_finish() call?
on_agent_finish() calls 2 function(s): on_agent_finish, on_agent_finish_common.
What calls on_agent_finish()?
on_agent_finish() 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