ReviewConfig Class — langchain Architecture
Architecture documentation for the ReviewConfig class in human_in_the_loop.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 28d2e155_80cb_5376_553b_027166940eb0["ReviewConfig"] 23036d87_b616_3e6b_013c_17cd312d2a62["human_in_the_loop.py"] 28d2e155_80cb_5376_553b_027166940eb0 -->|defined in| 23036d87_b616_3e6b_013c_17cd312d2a62
Relationship Graph
Source Code
libs/langchain_v1/langchain/agents/middleware/human_in_the_loop.py lines 45–55
class ReviewConfig(TypedDict):
"""Policy for reviewing a HITL request."""
action_name: str
"""Name of the action associated with this review configuration."""
allowed_decisions: list[DecisionType]
"""The decisions that are allowed for this request."""
args_schema: NotRequired[dict[str, Any]]
"""JSON schema for the args associated with the action, if edits are allowed."""
Source
Frequently Asked Questions
What is the ReviewConfig class?
ReviewConfig is a class in the langchain codebase, defined in libs/langchain_v1/langchain/agents/middleware/human_in_the_loop.py.
Where is ReviewConfig defined?
ReviewConfig is defined in libs/langchain_v1/langchain/agents/middleware/human_in_the_loop.py at line 45.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free