mirror of
https://github.com/langgenius/dify.git
synced 2026-08-29 11:49:06 +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 |
||
|---|---|---|
| .. | ||
| deploy | ||
| enterprise | ||
| extra | ||
| feature | ||
| middleware | ||
| observability | ||
| packaging | ||
| remote_settings_sources | ||
| __init__.py | ||
| app_config.py | ||