mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 10:12:51 +00:00
feat: extend support modes in variable aggregation node to include knowledge workflows
This commit is contained in:
parent
cd28a7fd4a
commit
1d60741b4f
|
|
@ -28,7 +28,7 @@ class VariableAggregationNodeSerializer(serializers.Serializer):
|
|||
|
||||
class IVariableAggregation(INode):
|
||||
type = 'variable-aggregation-node'
|
||||
support = [WorkflowMode.APPLICATION, WorkflowMode.APPLICATION_LOOP]
|
||||
support = [WorkflowMode.APPLICATION, WorkflowMode.APPLICATION_LOOP, WorkflowMode.KNOWLEDGE, WorkflowMode.KNOWLEDGE_LOOP]
|
||||
|
||||
def get_node_params_serializer_class(self) -> Type[serializers.Serializer]:
|
||||
return VariableAggregationNodeSerializer
|
||||
|
|
|
|||
Loading…
Reference in New Issue