21 Commits
Author SHA1 Message Date
jinchan ce1d493769 feat(module): 添加 AIGC BYOK 密钥解密节点及批量套版 AI hook 功能
- 新增 byok_crypto.py,提供兼容 Java AES-256-GCM encryptedAk 解密工具
- 新增 nodes_byok.py,提供 AigcByokDecryptNode 节点支持工作流中 encryptedAk 解密
- 在 node.py 注册 AigcByokDecryptNode 节点及显示名称
- 扩展 nodes_template_compose.py 支持工具任务服务调用,新增 tool_base_url 等参数
- 支持按新版 templateWorkflow 协议(version 2)执行工作流 AI hook,处理依赖链及缓存
- 增加工作流协议解析与校验实现 template_workflow.py,处理图层索引、JSON Pointer 读写及依赖排序
- 优化模板校验,捕获 WorkflowProtocolError 并返回统一错误结构,完善日志打印
- 支持工具任务上下文解析,剔除保留字段保护 requestId 和 toolCall 不被覆盖
- 修改套版服务调用逻辑,Headers 支持合并 Bearer Token 和自定义头,优先使用 auth_token
- 增加详细错误定位信息,方便调试复杂多节点 AI 工作流
- 更新.gitignore,添加 tests/ 目录忽略规则
2026-09-14 20:42:43 +08:00
jinchan 9e6854c3d0 refactor(core): 重构和拆分核心模块,新增本地API客户端与工具
- 新增 local_api_client.py,提供统一同步HTTP调用类和API端点定义
- 新增 local_api_models.py,定义OpenAI图像生成及响应数据模型
- 新增 local_api_utils.py,包含图像张量处理、下载重试及API响应验证等工具
- 优化 node.py,移除旧实现,改为导入拆分后的模块,提高代码可维护性
- .gitignore中添加doc/目录忽略规则
2026-08-10 18:23:59 +08:00
jinchan cfbe47ce84 fix: fix python node security issue 2026-02-05 11:30:43 +08:00
jinchan 081482760f fix: fix python node security issue 2026-02-03 21:03:58 +08:00
jinchan 2d7b530dd9 feat: compact 2025-11-21 09:45:41 +08:00
jinchan 6106f891d8 feat: suppor multiple image input 2025-11-21 09:05:08 +08:00
jinchan 7e292d7dc7 feat: add idealab gen api 2025-11-20 23:00:16 +08:00
jinchan 2ab29209c3 feat: add idealab gen api 2025-11-20 22:21:32 +08:00
jinchan 5e3fcb63af feat: add gpt api node 2025-09-25 17:28:24 +08:00
shaotian.hst 03763dc70d feat: support batch upload 2025-07-01 19:35:10 +08:00
shaotian.hst 32f4e3143a feat: support batch upload 2025-07-01 18:53:49 +08:00
shaotian.hst 31433d737b feat: upgrade python node 2025-06-30 17:02:20 +08:00
shaotian.hst 367b645571 feat: change name 2025-06-27 13:51:44 +08:00
shaotian.hst d3e26f867a feat: add concat image node 2025-06-27 10:18:16 +08:00
shaotian.hst 731bf56ad5 chore:ditto 2025-06-27 02:00:13 +08:00
shaotian.hst 41343f99be chore:ditto 2025-06-27 01:52:48 +08:00
shaotian.hst 35d2bacacb feat: add new nodes for kontext 2025-06-27 01:45:10 +08:00
shaotian.hst 05d4112ea2 feat: add marketing api 2025-06-19 19:42:54 +08:00
shaotian.hst a2a082ee92 feat: add code node 2025-06-17 22:07:18 +08:00
shaotian.hst 0612b68a23 feat: update adic nodes 2025-06-17 21:41:32 +08:00
shaotian.hst 833ac57a30 first commit 2025-06-12 19:01:07 +08:00