mirror of
https://github.com/langgenius/dify.git
synced 2026-05-05 01:48:04 +08:00
feat(sandbox_provider): add default sandbox provider for CE
This commit is contained in:
@ -49,10 +49,6 @@ class DifyCliInitializer(SandboxInitializer):
|
||||
|
||||
env.upload_file(DIFY_CLI_PATH, BytesIO(binary.path.read_bytes()))
|
||||
|
||||
pipeline(env).add(
|
||||
["chmod", "+x", DIFY_CLI_PATH], error_message="Failed to mark dify CLI as executable"
|
||||
).execute(raise_on_error=True)
|
||||
|
||||
logger.info("Dify CLI uploaded to sandbox, path=%s", DIFY_CLI_PATH)
|
||||
|
||||
artifact = SkillManager.load_tool_artifact(self._tenant_id, self._app_id, self._assets_id)
|
||||
|
||||
Reference in New Issue
Block a user