refactor(workflow): add new engine and utils modules

- Add engine/ directory with core components:
  - graph_builder: workflow graph construction
  - variable_pool: variable management
  - state_manager: execution state tracking
  - event_stream_handler: event processing
  - stream_output_coordinator: streaming output control
  - result_builder: result aggregation
  - runtime_schema: runtime type definitions

- Add utils/ directory with utilities:
  - expression_evaluator: safe expression evaluation
  - template_renderer: Jinja2 template rendering
This commit is contained in:
Eternity
2026-02-10 13:33:57 +08:00
parent df681eaf22
commit d477e24e34
42 changed files with 1109 additions and 925 deletions

View File

@@ -4,8 +4,8 @@
# @Time : 2026/2/6
import pytest
from app.core.workflow.engine.variable_pool import VariablePool, VariableSelector
from app.core.workflow.variable.base_variable import VariableType
from app.core.workflow.variable_pool import VariablePool, VariableSelector
# ==================== VariableSelector 测试 ====================