mirror of
https://github.com/langgenius/dify.git
synced 2026-08-30 04:05:53 +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 |
||
|---|---|---|
| .. | ||
| agent | ||
| agent_v2 | ||
| command | ||
| datasource | ||
| file_upload | ||
| knowledge_index | ||
| knowledge_retrieval | ||
| trigger_plugin | ||
| trigger_schedule | ||
| trigger_webhook | ||
| __init__.py | ||