Configuration for the built-in serde, which handles checkpointing of state.
If omitted, no serde is set up (the object store will still be present, however).
SerdeConfig()Optional. List of allowed python modules to de-serialize custom objects from.
If provided, only the specified modules will be allowed to be deserialized. If omitted, no modules are allowed, and the object returned will simply be a json object OR a deserialized langchain object.
Example: {... "serde": { "allowed_json_modules": [ ["my_agent", "my_file", "SomeType"], ] } }
If you set this to True, any module will be allowed to be deserialized.
Example: {... "serde": { "allowed_json_modules": true } }
Optional. Whether to allow pickling as a fallback for deserialization.
If True, pickling will be allowed as a fallback for deserialization. If False, pickling will not be allowed as a fallback for deserialization. Defaults to True if not configured.