mirror of
https://github.com/langgenius/dify.git
synced 2026-05-05 01:48:04 +08:00
fix(sandbox): update FIXME comments to specify sandbox context for runtime config checks
This commit is contained in:
@ -513,7 +513,7 @@ class AdvancedChatAppGenerator(MessageBasedAppGenerator):
|
||||
if workflow is None:
|
||||
raise ValueError("Workflow not found")
|
||||
|
||||
# FIXME: Consolidate runtime config checking into a unified location.
|
||||
# FIXME:(sandbox) Consolidate runtime config checking into a unified location.
|
||||
runtime = workflow.features_dict.get("runtime")
|
||||
graph_engine_layers: tuple = ()
|
||||
if isinstance(runtime, dict) and runtime.get("enabled"):
|
||||
|
||||
@ -488,7 +488,7 @@ class WorkflowAppGenerator(BaseAppGenerator):
|
||||
if workflow is None:
|
||||
raise ValueError("Workflow not found")
|
||||
|
||||
# FIXME: Consolidate runtime config checking into a unified location.
|
||||
# FIXME:(sandbox) Consolidate runtime config checking into a unified location.
|
||||
runtime = workflow.features_dict.get("runtime")
|
||||
if isinstance(runtime, dict) and runtime.get("enabled"):
|
||||
graph_engine_layers = (
|
||||
|
||||
Reference in New Issue
Block a user