fix: 修改插件容器镜像位置

This commit is contained in:
npc0-hue
2025-10-19 08:36:14 +08:00
committed by FamousMai
parent 23d42b27a1
commit 96de05b3cb
2 changed files with 12 additions and 6 deletions
@@ -130,6 +130,10 @@ class WorkflowAppGenerateTaskPipeline:
workflow_node_execution_repository=workflow_node_execution_repository,
)
# 将用户信息传递给工作流周期管理器
self._workflow_cycle_manager._user_id = self._user_id
self._workflow_cycle_manager._created_by_role = self._created_by_role
self._workflow_response_converter = WorkflowResponseConverter(
application_generate_entity=application_generate_entity,
user=user,
@@ -669,10 +673,10 @@ class WorkflowAppGenerateTaskPipeline:
if isinstance(
event,
(
QueueNodeFailedEvent,
QueueNodeInIterationFailedEvent,
QueueNodeInLoopFailedEvent,
QueueNodeExceptionEvent,
QueueNodeFailedEvent,
QueueNodeInIterationFailedEvent,
QueueNodeInLoopFailedEvent,
QueueNodeExceptionEvent,
),
):
yield from self._handle_node_failed_events(
+4 -2
View File
@@ -202,8 +202,10 @@ class WorkflowCycleManager:
domain_execution_dict = jsonable_encoder(domain_execution)
# 添加用户信息到字典中
domain_execution_dict['created_by'] = self._application_generate_entity.user_id
domain_execution_dict['created_by_role'] = 'account' # 工作流通常由账户用户调用
domain_execution_dict['created_by'] = getattr(self, '_user_id', self._application_generate_entity.user_id)
domain_execution_dict['created_by_role'] = getattr(self, '_created_by_role', None)
if domain_execution_dict['created_by_role']:
domain_execution_dict['created_by_role'] = domain_execution_dict['created_by_role'].value
update_account_money_when_workflow_node_execution_created_extend.delay(domain_execution_dict)
# 二开部分End - 额度限制