Home / Class/ CustomState Class — langchain Architecture

CustomState Class — langchain Architecture

Architecture documentation for the CustomState class in test_wrap_model_call_state_update.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  89290fdc_9c8a_0d6a_7ec2_9c9d1fff51bb["CustomState"]
  e4070722_d3c6_f73d_d727_5779ab576a2a["AgentState"]
  89290fdc_9c8a_0d6a_7ec2_9c9d1fff51bb -->|extends| e4070722_d3c6_f73d_d727_5779ab576a2a
  08361e76_a995_1e57_f200_e292474e2f00["test_wrap_model_call_state_update.py"]
  89290fdc_9c8a_0d6a_7ec2_9c9d1fff51bb -->|defined in| 08361e76_a995_1e57_f200_e292474e2f00

Relationship Graph

Source Code

libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_wrap_model_call_state_update.py lines 130–131

        class CustomState(AgentState):
            custom_key: str

Extends

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_wrap_model_call_state_update.py.
Where is CustomState defined?
CustomState is defined in libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_wrap_model_call_state_update.py at line 130.
What does CustomState extend?
CustomState extends AgentState.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free