Repository navigation
v2.0.13 — Sandbox on OpenSandbox only
v2.0.13 removes the Dify Code Interpreter sidecar. The Sandbox tool runs only on an OpenSandbox server beside ChatHub. Pull lqdflying/chathub:2.0.13 (also :latest).
Highlights
- The Sandbox builtin (
lobe-sandbox) replaces Code Interpreter: shell, git, Node.js, Python, files, and background commands, one container per conversation. - DifySandbox is gone. Set
OPENSANDBOX_SERVER_URL,OPENSANDBOX_API_KEY, andOPENSANDBOX_IMAGE, or leave them unset to disable the tool. - Stop during a sandbox call discards the result instead of saving it and continuing the turn.
Upgrade
- Image:
lqdflying/chathub:2.0.13. This tag updates:latest. - Startup applies migration
0062_sandbox_tool_identifier. It rewrites enabledlobe-code-interpreterplugins tolobe-sandbox. No manual SQL. - Remove the
code-interpreterCompose service,code-interpreter.env, and thecode_interpreter_dependenciesvolume.SANDBOX_PROVIDERandCODE_INTERPRETER_SANDBOX_URL/_API_KEYare no longer read. - Build
docker/opensandboxon the OpenSandbox host and setOPENSANDBOX_IMAGE(the recipe tag ischathub-sandbox:1). CODE_INTERPRETER_TIMEOUT,CODE_INTERPRETER_MAX_FILE_BYTES,CODE_INTERPRETER_MAX_FILE_COUNT, andCODE_INTERPRETER_MAX_STDOUT_CHARSstill apply when the matchingSANDBOX_*name is unset.- Code Interpreter with OpenSandbox · Docker Deployment and Upgrades
Added
- Sandbox tool: foreground and background commands, Python, file read/write/edit, listing, and export.
- General sandbox image under
docker/opensandbox.
Changed
- One OpenSandbox container per conversation. Extra running containers for the same session are removed on reuse.
- Old tool messages keep
lobe-code-interpreter; the app still renders them.
Removed
- DifySandbox provider and the Code Interpreter sidecar contract.
Fixed
- Stop during sandbox output collection no longer persists a tool result or starts the next assistant turn.
Docs
Full diff: v2.0.12...v2.0.13