diff --git a/core/quivr_core/rag/quivr_rag_langgraph.py b/core/quivr_core/rag/quivr_rag_langgraph.py index 8a2b4257fb38..dd2714ac0a41 100644 --- a/core/quivr_core/rag/quivr_rag_langgraph.py +++ b/core/quivr_core/rag/quivr_rag_langgraph.py @@ -13,7 +13,6 @@ TypedDict, ) from uuid import UUID, uuid4 - import openai from langchain.retrievers import ContextualCompressionRetriever from langchain_cohere import CohereRerank @@ -1009,8 +1008,6 @@ def _extract_node_name(self, event: dict) -> str: if node.name == name: if node.description: return node.description - elif node.label: - return node.label else: return node.name return ""