feat: 支持工作流代码节点 Python 执行引擎

- easyflow-module-ai: 新增 PythonRuntimeEngine、不可用引擎降级实现与引擎能力服务

- easyflow-module-ai: 在 TinyFlowConfigService 注册 python/py 引擎并增加启动探测与可用性日志

- easyflow-api: 新增 /api/v1/workflow/supportedCodeEngines 能力查询接口

- easyflow-starter: 增加 node.code-engine.python 配置项默认值

- Dockerfile: 安装 python3 运行时以支持容器内执行

- test: 增加 PythonRuntimeEngineTest 覆盖成功、语法错误、超时、输出限制、命令缺失场景

- chore(ui-admin): 更新 cspell 词典
This commit is contained in:
2026-03-01 19:59:53 +08:00
parent ac8de7dbb8
commit 29f82ed1f0
11 changed files with 631 additions and 2 deletions

View File

@@ -119,6 +119,13 @@ node:
# 搜索引擎节点 - 目前只支持博查搜索
bochaai:
apiKey: 'xxx'
code-engine:
python:
enabled: true
command: python3
timeout-ms: 5000
max-output-bytes: 262144
working-dir: /tmp
jetcache:
# 缓存类型可选值local/remote/both CacheConfig 类初始化