mirror of
https://github.com/langgenius/dify.git
synced 2026-08-29 02:16:23 +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 |
||
|---|---|---|
| .. | ||
| nodes | ||
| __init__.py | ||
| file_reference.py | ||
| human_input_compat.py | ||
| human_input_forms.py | ||
| node_factory.py | ||
| node_runtime.py | ||
| system_variables.py | ||
| template_rendering.py | ||
| variable_pool_initializer.py | ||
| variable_prefixes.py | ||
| workflow_entry.py | ||
| workflow_run_outputs.py | ||