agents.base.mixins.persistence_mixinΒΆ
Persistence Mixin for Agent classes.
This mixin provides persistence functionality including checkpointer setup, store management, and configuration handling. It separates persistence concerns from the main Agent class while ensuring proper serialization.
ClassesΒΆ
Mixin for agent persistence functionality. |
Module ContentsΒΆ
- class agents.base.mixins.persistence_mixin.PersistenceMixinΒΆ
Mixin for agent persistence functionality.
Provides methods for setting up checkpointers, stores, and managing persistence configuration in a serializable way.
- get_effective_runnable_config(**overrides)ΒΆ
Get the effective runnable config with defaults and overrides.
- Return type:
langchain_core.runnables.RunnableConfig
- get_persistence_config()ΒΆ
Get the current persistence configuration as a serializable dict.
- update_persistence_config(**config_updates)ΒΆ
Update persistence configuration and re-setup if needed.
- Return type:
None