mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-25 09:53:29 +08:00
Refactor(harness): remove naive inline graph engine , unify graph execution under single pregel engine (#16608)
This commit is contained in:
@@ -115,7 +115,7 @@ type loopInterruptState struct {
|
||||
// shouldQuit is the termination predicate (called after each iteration).
|
||||
func NewLoopNodeFunc(
|
||||
key string,
|
||||
sub *CompiledGraph,
|
||||
sub *compiledGraph,
|
||||
shouldQuit LoopCondition,
|
||||
opts ...LoopOption,
|
||||
) (types.NodeFunc, error) {
|
||||
@@ -143,7 +143,7 @@ func NewLoopNodeFunc(
|
||||
func runLoop(
|
||||
ctx context.Context,
|
||||
key string,
|
||||
sub *CompiledGraph,
|
||||
sub *compiledGraph,
|
||||
input interface{},
|
||||
shouldQuit LoopCondition,
|
||||
options *loopOptions,
|
||||
|
||||
Reference in New Issue
Block a user