on_agent_action() — langchain Function Reference
Architecture documentation for the on_agent_action() function in callbacks.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD ca71e818_f869_a64b_a148_c896b06697b3["on_agent_action()"] 9659be4f_91d1_3b62_bcfb_38c048777165["FakeCallbackHandler"] ca71e818_f869_a64b_a148_c896b06697b3 -->|defined in| 9659be4f_91d1_3b62_bcfb_38c048777165 cde8632a_848f_a17d_8494_f2549d27389b["on_agent_action()"] cde8632a_848f_a17d_8494_f2549d27389b -->|calls| ca71e818_f869_a64b_a148_c896b06697b3 92733865_e303_6298_6620_e007b642021e["on_agent_action_common()"] ca71e818_f869_a64b_a148_c896b06697b3 -->|calls| 92733865_e303_6298_6620_e007b642021e cde8632a_848f_a17d_8494_f2549d27389b["on_agent_action()"] ca71e818_f869_a64b_a148_c896b06697b3 -->|calls| cde8632a_848f_a17d_8494_f2549d27389b style ca71e818_f869_a64b_a148_c896b06697b3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/core/tests/unit_tests/fake/callbacks.py lines 231–236
def on_agent_action(
self,
*args: Any,
**kwargs: Any,
) -> Any:
self.on_agent_action_common()
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does on_agent_action() do?
on_agent_action() is a function in the langchain codebase, defined in libs/core/tests/unit_tests/fake/callbacks.py.
Where is on_agent_action() defined?
on_agent_action() is defined in libs/core/tests/unit_tests/fake/callbacks.py at line 231.
What does on_agent_action() call?
on_agent_action() calls 2 function(s): on_agent_action, on_agent_action_common.
What calls on_agent_action()?
on_agent_action() is called by 1 function(s): on_agent_action.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free