mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-22 21:54:45 +08:00
feat: integrated with sandbox
This commit is contained in:
@@ -10,7 +10,7 @@ class SandboxProvider(ABC):
|
||||
|
||||
@abstractmethod
|
||||
def acquire(self) -> str:
|
||||
"""Acquire a sandbox environment.
|
||||
"""Acquire a sandbox environment and return its ID.
|
||||
|
||||
Returns:
|
||||
The ID of the acquired sandbox environment.
|
||||
@@ -18,7 +18,7 @@ class SandboxProvider(ABC):
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
def get(self, sandbox_id: str) -> Sandbox:
|
||||
def get(self, sandbox_id: str) -> Sandbox | None:
|
||||
"""Get a sandbox environment by ID.
|
||||
|
||||
Args:
|
||||
|
||||
Reference in New Issue
Block a user