mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-20 21:04:45 +08:00
feat: integrated with sandbox
This commit is contained in:
@@ -13,9 +13,11 @@ class LocalSandboxProvider(SandboxProvider):
|
||||
return _singleton.id
|
||||
|
||||
def get(self, sandbox_id: str) -> None:
|
||||
if _singleton is None:
|
||||
self.acquire()
|
||||
return _singleton
|
||||
if sandbox_id == "local":
|
||||
if _singleton is None:
|
||||
self.acquire()
|
||||
return _singleton
|
||||
return None
|
||||
|
||||
def release(self, sandbox_id: str) -> None:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user