ApproveDecision Class — langchain Architecture
Architecture documentation for the ApproveDecision class in human_in_the_loop.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 460f7277_9865_b7a2_9207_5cbb3ac3ecaa["ApproveDecision"] 23036d87_b616_3e6b_013c_17cd312d2a62["human_in_the_loop.py"] 460f7277_9865_b7a2_9207_5cbb3ac3ecaa -->|defined in| 23036d87_b616_3e6b_013c_17cd312d2a62
Relationship Graph
Source Code
libs/langchain_v1/langchain/agents/middleware/human_in_the_loop.py lines 68–72
class ApproveDecision(TypedDict):
"""Response when a human approves the action."""
type: Literal["approve"]
"""The type of response when a human approves the action."""
Source
Frequently Asked Questions
What is the ApproveDecision class?
ApproveDecision is a class in the langchain codebase, defined in libs/langchain_v1/langchain/agents/middleware/human_in_the_loop.py.
Where is ApproveDecision defined?
ApproveDecision is defined in libs/langchain_v1/langchain/agents/middleware/human_in_the_loop.py at line 68.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free