mirror of https://github.com/langgenius/dify.git
Merge branch 'feat/rag-2' into fix/hide-export-button
This commit is contained in:
commit
06d45f0278
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in New Issue