mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-28 12:35:08 +02:00
- Convert Context to a ManagedValue - Add shim for old Context constructor - Add `runtime` flag for managed values, which, prior to serialization, replaces the value with a placeholder, and replaces it back with the actual value on resuming from checkpoint
6 lines
126 B
Python
6 lines
126 B
Python
from langgraph.managed.context import Context as ContextManagedValue
|
|
|
|
Context = ContextManagedValue.of
|
|
|
|
__all__ = ["Context"]
|