refactor(chain): remove dead data port indirection

This commit is contained in:
jxxghp
2026-08-28 05:53:53 +08:00
parent df92d9e267
commit ac7a201329
16 changed files with 130 additions and 128 deletions
+2 -2
View File
@@ -13,9 +13,9 @@ from typing import Any, Callable, List, Optional, Tuple
from pydantic import BaseModel
from app.application.chain.data import get_chain_workflow_port
from app.application.workflow import (
WorkflowSnapshot,
get_configured_workflow_execution,
get_configured_workflow_query,
get_workflow_manager,
)
@@ -1286,7 +1286,7 @@ class WorkflowChain(ChainBase):
:param from_begin: 是否从头开始,默认为True
:param progress_callback: 定时服务进度更新回调
"""
workflow_execution = get_chain_workflow_port()
workflow_execution = get_configured_workflow_execution()
# 重置工作流
if from_begin: