mirror of https://github.com/langgenius/dify.git
- Add ReadyQueueState TypedDict for type-safe queue serialization - Add ready_queue attribute to GraphRuntimeState for initializing with pre-existing queue state - Update GraphEngine to load ready_queue from GraphRuntimeState on initialization - Implement proper type hints using ReadyQueueState for better type safety - Add comprehensive tests for ready_queue loading functionality The ready_queue is read-only after initialization and allows resuming workflow execution with a pre-populated queue of nodes ready to execute. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| agent.py | ||
| graph_init_params.py | ||
| graph_runtime_state.py | ||
| run_condition.py | ||
| variable_pool.py | ||
| workflow_execution.py | ||
| workflow_node_execution.py | ||