9 Commits
Author SHA1 Message Date
Semon Xue e2c5cdaa43 feat: translate node info to English 2025-09-16 12:40:57 +08:00
Semon Xue c84868f7b1 feat: 兼容 b64_json 格式图片并更新版本号和内存库 2025-09-13 01:18:48 +08:00
Semon Xue 723ff585cd feat(模型管理): 增加模型记忆功能并重构代码
- 新增: 为图像和文本节点提供独立的模型记忆功能,用户输入的模型将被自动保存到 flexai_models.json 中。
- 优化: 将重复的模型管理逻辑抽象到新的共享模块 nodes/utils/model_manager.py,提升了代码质量。
- 优化: 根据用户反馈调整了节点UI,将自定义模型输入框紧跟在模型下拉菜单之后。
- chore: 版本号更新至 1.0.5。
2025-09-03 21:23:17 +08:00
Semon Xue 6a80218fbf feat: 实现多图返回功能并修复相关bug
- 增强图像节点,使其支持一次性返回多张图片。
- 修复了在处理多张不同尺寸图片时导致的 TypeError 和 RuntimeError。
- 改进了从流式响应中提取 URL 的正则表达式。
- 将项目版本号统一更新至 v1.0.4。
2025-09-03 15:15:24 +08:00
Semon Xue ed87535b85 feat: sync updates 2025-09-03 10:40:29 +08:00
Semon Xue 1b8248340f Bump version to 1.0.2 2025-09-03 02:17:53 +08:00
Semon Xue 578e9a72ba v1.0.1: 新增兼容模式支持OpenRouter,优化调试输出和错误处理
主要更新:
- 新增compatibility_mode参数,支持通过chat端点进行图像处理
- 修复base64数据格式问题(重复前缀)
- 实现调试信息截断,避免控制台输出过长base64数据
- 优化对视觉理解模型的错误处理,提供友好提示
- 清理测试文件,更新双语文档

技术改进:
- 添加_truncate_base64_in_dict工具函数
- 智能识别不支持图像生成的模型
- 系统性优化所有异常输出的格式
- 改进响应解析和错误恢复机制
2025-09-02 21:39:36 +08:00
Semon Xue 5b5fbfc335 Refactor code structure for improved readability and maintainability 2025-09-02 17:28:01 +08:00
Semon Xue 5b18d378d7 Initial commit
- Modern ComfyUI FlexAI plugin with OpenAI SDK 1.x support
- Dual-mode image processing: generation (images.generate) + editing (images.edit)
- Support for 1-4 simultaneous image inputs in edit mode
- Multimodal text generation with vision-language understanding
- Multi-provider configuration system
- Comprehensive error handling with visual feedback
- Clean architecture with unified flexai: namespace
- Complete documentation in English and Chinese
2025-09-01 08:49:34 +08:00