From 63e04362956deb3a93df605d74f574013cdef3eb Mon Sep 17 00:00:00 2001 From: Logan Markewich Date: Mon, 30 Sep 2024 15:27:08 -0600 Subject: [PATCH] update types --- llama-index-core/llama_index/core/workflow/context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llama-index-core/llama_index/core/workflow/context.py b/llama-index-core/llama_index/core/workflow/context.py index 0ff19cedffa5f..295b5dfb44eaf 100644 --- a/llama-index-core/llama_index/core/workflow/context.py +++ b/llama-index-core/llama_index/core/workflow/context.py @@ -65,7 +65,7 @@ def __init__( serializer: Optional[ContextSerializer] = None, ) -> None: self.stepwise = stepwise - self.serializer = serializer + self.serializer = serializer or ContextSerializer() self._workflow = workflow # Broker machinery