mirror of
https://github.com/langgenius/dify.git
synced 2026-09-24 23:22:26 +08:00
feat: add tenant_id support to Sandbox and VirtualEnvironment initialization
This commit is contained in:
@@ -362,6 +362,7 @@ class SandboxProviderService:
|
||||
config = decrypt_system_oauth_params(system_default.encrypted_config)
|
||||
|
||||
return SandboxFactory.create(
|
||||
tenant_id=tenant_id,
|
||||
sandbox_type=SandboxType(provider_type),
|
||||
options=dict(config) if config else {},
|
||||
environments=environments or {},
|
||||
|
||||
Reference in New Issue
Block a user