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 cde8632a_848f_a17d_8494_f2549d27389b["on_agent_action()"] 420de797_6be5_1482_0203_e7dd66c71fd0["FakeAsyncCallbackHandler"] cde8632a_848f_a17d_8494_f2549d27389b -->|defined in| 420de797_6be5_1482_0203_e7dd66c71fd0 ca71e818_f869_a64b_a148_c896b06697b3["on_agent_action()"] ca71e818_f869_a64b_a148_c896b06697b3 -->|calls| cde8632a_848f_a17d_8494_f2549d27389b 92733865_e303_6298_6620_e007b642021e["on_agent_action_common()"] cde8632a_848f_a17d_8494_f2549d27389b -->|calls| 92733865_e303_6298_6620_e007b642021e ca71e818_f869_a64b_a148_c896b06697b3["on_agent_action()"] cde8632a_848f_a17d_8494_f2549d27389b -->|calls| ca71e818_f869_a64b_a148_c896b06697b3 style cde8632a_848f_a17d_8494_f2549d27389b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/core/tests/unit_tests/fake/callbacks.py lines 405–410
async def on_agent_action(
self,
*args: Any,
**kwargs: Any,
) -> None:
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 405.
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