nat.agent.auto_memory_wrapper.state#
Classes#
Simple wrapper state - only needs to track messages. |
Module Contents#
- class AutoMemoryWrapperState(/, **data: Any)#
Bases:
pydantic.BaseModelSimple wrapper state - only needs to track messages.
The inner agent manages its own complex state internally (ReActGraphState, ReWOOGraphState, etc.). The wrapper never sees or manipulates the inner agent’s state.
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.selfis explicitly positional-only to allowselfas a field name.