CustomState Class — langchain Architecture
Architecture documentation for the CustomState class in test_framework.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 9969a2b1_5446_c6ce_af62_9a46e486a04d["CustomState"] 8310d669_2524_e019_e333_8473b50a4990["test_framework.py"] 9969a2b1_5446_c6ce_af62_9a46e486a04d -->|defined in| 8310d669_2524_e019_e333_8473b50a4990
Relationship Graph
Source Code
libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_framework.py lines 356–359
class CustomState(AgentState[Any]):
omit_input: Annotated[str, OmitFromInput]
omit_output: Annotated[str, OmitFromOutput]
private_state: Annotated[str, PrivateStateAttr]
Source
Frequently Asked Questions
What is the CustomState class?
CustomState is a class in the langchain codebase, defined in libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_framework.py.
Where is CustomState defined?
CustomState is defined in libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_framework.py at line 356.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free