diff --git a/haystack/components/others/multiplexer.py b/haystack/components/others/multiplexer.py index 954656340..ddacdce85 100644 --- a/haystack/components/others/multiplexer.py +++ b/haystack/components/others/multiplexer.py @@ -3,8 +3,8 @@ import sys from typing import Any, Dict from haystack import component, default_from_dict, default_to_dict -from haystack.components.routers.conditional_router import deserialize_type, serialize_type from haystack.core.component.types import Variadic +from haystack.utils.type_serialization import deserialize_type, serialize_type if sys.version_info < (3, 10): from typing_extensions import TypeAlias