Merge branch 'feat/rag-2' into fix/hide-export-button

This commit is contained in:
twwu 2025-09-09 15:10:26 +08:00
commit 06d45f0278
2 changed files with 2 additions and 1 deletions

View File

@ -176,6 +176,7 @@ class PipelineRunner(WorkflowBasedAppRunner):
invoke_from=self.application_generate_entity.invoke_from,
call_depth=self.application_generate_entity.call_depth,
graph_runtime_state=graph_runtime_state,
variable_pool=variable_pool,
)
generator = workflow_entry.run()

View File

@ -368,7 +368,7 @@ class Workflow(Base):
if not tenant_id:
return []
environment_variables_dict: dict[str, Any] = json.loads(self._environment_variables)
environment_variables_dict: dict[str, Any] = json.loads(self._environment_variables or "{}")
results = [
variable_factory.build_environment_variable_from_mapping(v) for v in environment_variables_dict.values()
]