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 |
||
|---|---|---|
| .. | ||
| advanced_chat | ||
| agent_chat | ||
| chat | ||
| common | ||
| completion | ||
| pipeline | ||
| workflow | ||
| __init__.py | ||
| base_app_generate_response_converter.py | ||
| base_app_generator.py | ||
| base_app_queue_manager.py | ||
| base_app_runner.py | ||
| draft_variable_saver.py | ||
| exc.py | ||
| message_based_app_generator.py | ||
| message_based_app_queue_manager.py | ||
| message_generator.py | ||
| streaming_utils.py | ||
| workflow_app_runner.py | ||