This commit is contained in:
jyong
2025-06-05 14:09:50 +08:00
parent 3e0a10b7ed
commit 8a86a2c817
5 changed files with 41 additions and 5 deletions

View File

@ -157,7 +157,7 @@ class PipelineGenerator(BaseAppGenerator):
stream=streaming,
invoke_from=invoke_from,
call_depth=call_depth,
workflow_run_id=workflow_run_id,
workflow_execution_id=workflow_run_id,
)
contexts.plugin_tool_providers.set({})
@ -379,7 +379,7 @@ class PipelineGenerator(BaseAppGenerator):
stream=streaming,
invoke_from=InvokeFrom.DEBUGGER,
call_depth=0,
workflow_run_id=str(uuid.uuid4()),
workflow_execution_id=str(uuid.uuid4()),
)
contexts.plugin_tool_providers.set({})
contexts.plugin_tool_providers_lock.set(threading.Lock())
@ -461,7 +461,7 @@ class PipelineGenerator(BaseAppGenerator):
invoke_from=InvokeFrom.DEBUGGER,
extras={"auto_generate_conversation_name": False},
single_loop_run=RagPipelineGenerateEntity.SingleLoopRunEntity(node_id=node_id, inputs=args["inputs"]),
workflow_run_id=str(uuid.uuid4()),
workflow_execution_id=str(uuid.uuid4()),
)
contexts.plugin_tool_providers.set({})
contexts.plugin_tool_providers_lock.set(threading.Lock())

View File

@ -29,6 +29,7 @@ class PipelineDataset(BaseModel):
class PipelineDocument(BaseModel):
id: str
position: int
data_source_type: str
data_source_info: Optional[dict] = None
name: str
indexing_status: str