feat: Add Volcengine provider support for desktop environment. (#307)

Co-authored-by: lisailong <lisailong.ze@bytedance.com>
This commit is contained in:
SaiLong Li
2025-08-15 18:53:13 +08:00
committed by GitHub
parent 6ecbcf006b
commit cc6eddb466
7 changed files with 541 additions and 1 deletions

View File

@@ -158,7 +158,7 @@ class DesktopEnv(gym.Env):
# Track whether environment has been used (step/setup) to optimize snapshot revert
# docker, aws, gcp, azure are always unused as the emulator starts from a clean state
# vmware, virtualbox are always used as the emulator starts from a dirty state
if self.provider_name in {"docker", "aws", "gcp", "azure", "aliyun"}:
if self.provider_name in {"docker", "aws", "gcp", "azure", "aliyun", "volcengine"}:
self.is_environment_used = False
elif self.provider_name in {"vmware", "virtualbox"}:
self.is_environment_used = True