Skip to content

Commit b6b0108

Browse files
liyuanliyuan
authored andcommitted
feat(sandbox): boxlite implementation
1 parent 7dccaf6 commit b6b0108

File tree

4 files changed

+1280
-0
lines changed

4 files changed

+1280
-0
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ dependencies = [
6565
"playwright>=1.40.0",
6666
"beartype>=0.18.5",
6767
"matplotlib>=3.5.0",
68+
"boxlite>=0.6.0",
6869
]
6970

7071
[project.optional-dependencies]

src/xagent/sandbox/base.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ class ExecResult:
108108
stderr: str
109109
"""Standard error output."""
110110

111+
error_message: Optional[str] = None
112+
"""Error message."""
113+
111114
@property
112115
def success(self) -> bool:
113116
return self.exit_code == 0

0 commit comments

Comments
 (0)