mirror of
https://github.com/langgenius/dify.git
synced 2026-03-10 11:10:19 +08:00
- Replace direct field access with private attributes and property decorators - Implement deep copy protection for mutable objects (dict, LLMUsage) - Add helper methods: set_output(), get_output(), update_outputs() - Add increment_node_run_steps() and add_tokens() convenience methods - Update loop_node and event_handlers to use new accessor methods - Add comprehensive unit tests for immutability and validation - Ensure backward compatibility with existing property access patterns |
||
|---|---|---|
| .. | ||
| command_channels | ||
| command_processing | ||
| domain | ||
| entities | ||
| error_handling | ||
| event_management | ||
| graph_traversal | ||
| layers | ||
| orchestration | ||
| protocols | ||
| response_coordinator | ||
| state_management | ||
| worker_management | ||
| __init__.py | ||
| graph_engine.py | ||
| manager.py | ||
| worker.py | ||