diff --git a/api/core/workflow/nodes/knowledge_retrieval/knowledge_retrieval_node.py b/api/core/workflow/nodes/knowledge_retrieval/knowledge_retrieval_node.py index 62c32676ef4586..5bfdd038971291 100644 --- a/api/core/workflow/nodes/knowledge_retrieval/knowledge_retrieval_node.py +++ b/api/core/workflow/nodes/knowledge_retrieval/knowledge_retrieval_node.py @@ -1,4 +1,5 @@ from typing import Any, cast + from sqlalchemy import func from core.app.app_config.entities import DatasetRetrieveConfigEntity diff --git a/api/core/workflow/nodes/llm/llm_node.py b/api/core/workflow/nodes/llm/llm_node.py index 245dfb9dcdcd95..b1b9ba86827e4a 100644 --- a/api/core/workflow/nodes/llm/llm_node.py +++ b/api/core/workflow/nodes/llm/llm_node.py @@ -1,5 +1,4 @@ import json - from collections.abc import Generator from copy import deepcopy from typing import TYPE_CHECKING, Optional, cast