mirror of
https://github.com/langgenius/dify.git
synced 2026-05-13 08:57:28 +08:00
- Skip Local sandbox provider under gevent worker (subprocess pipes cause cooperative threading deadlock with Celery's gevent pool). - Add non-blocking sandbox readiness check before tool execution. - Add gevent timeout wrapper for sandbox bash session. - Fix CLI binary resolution: add SANDBOX_DIFY_CLI_ROOT config field. - Fix ExecutionContext.node_id propagation. - Fix SkillInitializer to gracefully handle missing skill bundles. - Update _invoke_tool_in_sandbox to use correct `dify execute` CLI subcommand format (not `invoke-tool`). The full sandbox-in-agent pipeline works end-to-end for network-based providers (Docker, E2B, SSH). Local provider is skipped under gevent but works in non-gevent contexts. Made-with: Cursor
10 MiB
Executable File
10 MiB
Executable File
The file is too large to be shown.
View Raw