fix(*): 插件工作流 - 统一启停状态并闭环校验生成链路
This commit is contained in:
1 parent
3a4a295523
commit
c79e984bc3
23 files changed
+351
-65
No files matched your search
@@ -295,6 +295,9 @@ func (s *Service) processCanvasGenerationTask(ctx context.Context, userID string
|
||||
input.Config = config
|
||||
ctx = withProviderOutboundPolicy(ctx, input.Config)
|
||||
if isWorkflowProviderInterface(input.Config.InterfaceType) {
|
||||
if err := s.RequireWorkflowPluginForInterface(input.Config.InterfaceType); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if err := validateWorkflowProviderConfig(input.Mode, input.Config); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user