Commit Graph
120 Commits
Author SHA1 Message Date
科林_Cyril Pilgrim fe293f74c5 feat(json): add JSON Builder and JSON Fixer nodes
JSON Builder:
- Build JSON from up to 5 key-value pairs
- Auto-parse values (string or nested JSON)
- Category: 🚦ComfyUI_LLMs_Toolkit/JSON

JSON Fixer:
- Fix malformed JSON from LLM outputs
- Handle: trailing commas, single quotes, markdown code blocks
- Extract JSON from surrounding text
- Category: 🚦ComfyUI_LLMs_Toolkit/JSON

Also fixed JSON Extractor to use forceInput for upstream connection.
2026-02-09 22:08:44 +08:00
科林_Cyril Pilgrim 3f7a520085 fix(json): align log format with brand identifier standard 2026-02-09 21:57:14 +08:00
科林_Cyril Pilgrim f843bbfe95 refactor: flatten architecture with auto-registration (Google best practices)
- Moved all nodes to flat nodes/ directory:
  - llm_loader.py
  - openai_compatible.py
  - image_processor.py
  - json_extractor.py (NEW)

- Implemented auto-registration in __init__.py:
  - Scans nodes/ directory automatically
  - No need to manually update imports
  - Follows YAGNI principle (4 nodes don't need deep nesting)

- Added JSON Extractor node:
  - Extract values from JSON strings by key
  - Supports nested keys (e.g., 'user.name')
  - Category: 🚦ComfyUI_LLMs_Toolkit/JSON

- Removed src/ multi-level structure for better discoverability
2026-02-09 21:53:02 +08:00
科林_Cyril Pilgrim b1d6fd6a57 chore: standardize environment configuration and clean up legacy config
- Renamed config/env.example to .env.example (following industry standard .env conventions).
- Streamlined .env.example with API key placeholders and pointers to documentation.
- Removed legacy config/ directory.
2026-02-09 15:51:47 +08:00
科林_Cyril Pilgrim d73c0c821a chore: remove tracked __pycache__ from repository 2026-02-09 15:35:18 +08:00
科林_Cyril Pilgrim 056cf7ecc4 refactor: overhaul LLM toolkit architecture and standardize observability
- Core Refactoring: Migrated OpenAICompatibleLoader to a structured class design (ProviderRegistry, MessageBuilder, TokenEstimator) for enhanced maintainability.
- AsyncIO Fix: Resolved 'Event loop is closed' RuntimeError by transitioning to asyncio.run() for robust event loop lifecycle management within ComfyUI's threaded environment.
- Node Enhancements:
    - Added 'seed' parameter for deterministic cache invalidation control.
    - Fixed silent drop of system_prompt in stateless mode (enable_memory=False).
    - Refined category hierarchy: [Generate, Loader, Image] under a unified toolkit brand.
- Observability: Implemented project-wide geek-style logging with [LLMs_Toolkit] branding, execution latency tracking, and high-density token reporting.
- Cleanup: Removed legacy DeepSeek local model vertical, dependencies, and redundant utility nodes.
- Documentation: Simplified README and updated .gitignore for developer hygiene.
2026-02-09 15:26:02 +08:00
科林_Cyril Pilgrim d04fff29e2 refactor: 重构节点分类与清理冗余功能
- 将所有 CATEGORY 从 DeepSeek_Toolkit 改为 🚦ComfyUI_LLMs_Toolkit
- 删除 Video File Uploader 节点 (src/utils/file_uploader.py)
- 移除 OpenAI Compatible 节点的 video_url 入参
2026-02-08 16:31:58 +08:00
科林_Cyril Pilgrim 4762f9be25 refactor: 移除 DeepSeek 本地模型相关代码
- 删除 src/core/model_loader.py (本地模型加载器)
- 删除 src/processors/image_generation.py (Janus Pro 图像生成)
- 删除 src/processors/image_understanding.py (图像分析)
- 移除 requirements.txt 中的 Janus 依赖
- 更新 __init__.py 移除相关导入
- 重写 README.md,精简风格
2026-02-08 16:15:30 +08:00
科林_Cyril Pilgrim eae293833b ✨ 完善安装步骤,突出ComfyUI Manager
🎯 主要优化:
- 将ComfyUI Manager设为首选安装方式
- 优化安装步骤的标题和格式
- 提供清晰的两种安装选择
- 完全聚焦ComfyUI插件生态

📝 格式改进:
- 统一使用'方法一/方法二'的命名方式
- 优化代码块的注释格式
- 提升整体文档的可读性和专业性
2025-06-23 17:42:43 +08:00
科林_Cyril Pilgrim a51e5cb582 🚫 完全移除Docker相关内容
- 删除技术亮点中的'极客友好'Docker支持描述
- 移除'容器化:Docker支持,一致性部署环境'特性
- 删除完整的'方式二:Docker部署'安装方式
- 专注ComfyUI插件的原生安装体验
- 简化文档,聚焦API驱动的轻量化方案
2025-06-23 17:40:36 +08:00
科林_Cyril Pilgrim b2e0e86dab 📝 优化README排版,专注ComfyUI插件特性
🎯 主要改进:
- ❌ 移除Docker部署内容,专注ComfyUI插件安装
- ⭐ 突出ComfyUI Manager安装方式(推荐)
- 📖 简化项目结构描述,提高可读性
- 🎯 优化使用指南格式,更适合插件场景
- 💬 精简社区支持部分,专注GitHub官方渠道
- 🎨 改善整体排版层级,减少视觉混乱

🔧 技术优化:
- 统一代码块格式和语言标记
- 简化安装步骤说明,更直观易懂
- 优化标题层级结构,符合Markdown规范
- 提升文档专业性和实用性

✨ 适配改进:
- 专为ComfyUI custom_nodes设计
- 突出ComfyUI Manager便捷安装
- 移除不适用的Docker容器化内容
- 优化排版,解决GitHub显示问题
2025-06-23 17:07:59 +08:00
科林_Cyril Pilgrim e97c01c531 🔄 触发GitHub页面刷新,确保格式优化正确显示
- 强制更新README以同步GitHub显示
- 确保所有Markdown格式优化在远程仓库正确反映
- 解决可能的页面缓存问题
2025-06-23 17:01:37 +08:00
科林_Cyril Pilgrim f09da5c397 ✨ 根据极客规范重构README文档体系
🔥 主要改进:
- 🎨 采用readme-prompt规范,提升视觉美观度和可读性
- 🌈 优化徽章系统,增加更多状态指标(Stars、Forks、Issues、License、Last Commit)
- 📱 增强语言切换按钮设计,使用大号徽章样式
- 🏗️ 重新设计页面结构布局,增加分隔线和留白
- 📊 完善模型对比表格,增加价格等级和核心优势说明
- 🔧 新增技术亮点展示,突出项目特色
- 📚 简化文档结构,突出核心功能和快速上手
- ❓ 改进FAQ部分,使用可折叠详情设计
- 👥 优化联系方式和社区链接
- 🐳 完善Docker部署说明和配置示例

💡 设计原则:
- 信息清晰度优先,减少认知负担
- 视觉美观符合极客审美
- 易于导航和维护
- 跨平台兼容性良好

🌐 中英文同步优化,保持一致的专业水准
2025-06-23 16:24:28 +08:00
科林_Cyril Pilgrim 7084a22ef6 📚 更新项目名称为ComfyUI-LLMs-Toolkit并添加语言切换功能
- 更新根目录README.md,使用新项目名称ComfyUI-LLMs-Toolkit
- 添加中英文语言切换按钮
- 重新设计英文文档docs/readme_en.md
- 修复并完善配置文档docs/configuration.md
- 更新所有文档中的项目链接和徽章
- 增加对国际LLM的支持说明(GPT、Claude、Gemini等)
- 保持专业的文档格式和用户友好的界面
2025-06-23 16:16:19 +08:00
科林_Cyril Pilgrim d61955c937 ⚙️ 重构配置系统为环境变量
📁 配置文件更改:
  - 🔄 重命名 default_config.yaml → env.example
  - 📝 采用环境变量配置格式
  - 🔑 支持9个主流中国LLM的API配置
  - 🛡️ 更新.gitignore忽略.env文件

🚀 新增功能:
  - 📖 创建根目录README.md
  - ⚙️ 添加详细配置指南文档
  - 🔧 更新安装和配置说明
  - 🌟 完整的支持模型列表

✨ 改进体验:
  - 🎯 清晰的环境变量配置流程
  - 📋 各大厂商API密钥获取指南
  - 🔗 便捷的配置文档链接
  - 🛠️ 性能调优配置选项

这次更新让用户配置更加简单和安全!
2025-06-23 16:01:18 +08:00
科林_Cyril Pilgrim 079ebb1945 🏗️ 重构项目文件结构
📁 重新组织项目架构:
  - 📚 docs/: 集中管理所有文档
  - 🔧 src/: 源代码模块化分类
    - core/: 核心LLM功能
    - processors/: 图像和文本处理
    - utils/: 工具函数
    - nodes/: ComfyUI节点定义
  - ⚙️ config/: 配置文件
  - 📋 examples/: 示例和工作流
  - 🧪 tests/: 测试文件

✨ 改进点:
  - 清晰的功能模块划分
  - 标准的Python包结构
  - 完善的__init__.py文件
  - 配置文件集中管理
  - 示例和测试目录

🎯 提升了项目的可维护性和专业性
2025-06-23 15:45:33 +08:00
科林_Cyril Pilgrim c639fb54d1 🎨 完整重构README文档
✨ 全新设计的专业排版和视觉效果
📖 详细的项目介绍和愿景说明
🤖 展示支持的9个主流中国大语言模型
🛠️ 完整的功能模块介绍和适用场景
🚀 详细的安装指南和API配置步骤
📚 使用指南和工作流示例
🏗️ 技术架构和项目结构展示
🤝 贡献指南和社区支持信息
📈 详细的发展路线图规划
🙏 致谢和开源协议说明

这是一个全面的文档重构,提供了更专业、美观和用户友好的项目介绍。
2025-06-23 15:39:13 +08:00
科林_Cyril Pilgrim 9a5dd3e649 📚 同步完整README文档内容到远程仓库 2025-06-23 15:27:39 +08:00
科林_Cyril Pilgrim 0fba8d19bb 📝 更新README文档 - 新版本项目介绍 2025-06-23 15:25:38 +08:00
科林_Cyril Pilgrim 63d0766dbd 更新模块初始化文件 2025-06-23 14:27:28 +08:00
科林_Cyril Pilgrim 902588ce50 update 2025-03-06 16:27:41 +08:00
科林_Cyril Pilgrim 9a36ff6b1d update 2025-03-06 15:38:20 +08:00
科林_Cyril Pilgrim 59fac8e6f1 push 2025-03-01 14:18:20 +08:00
科林_Cyril Pilgrim 8cd5533c65 update 2025-02-28 11:19:35 +08:00
科林_Cyril Pilgrim 4e8e3035eb update 2025-02-14 19:40:23 +08:00
科林_Cyril Pilgrim 2a9fd3a8c7 readme 2025-02-13 13:37:47 +08:00
科林_Cyril Pilgrim ec4f9424ed Fix import error 2025-02-13 12:19:37 +08:00
科林_Cyril Pilgrim e407f0eef4 files_move 2025-02-13 12:12:40 +08:00
科林_Cyril Pilgrim 0f1f11fdd6 Update README.md 2025-02-12 11:01:13 +08:00
科林_Cyril Pilgrim 25682b3d88 Update requirements.txt 2025-02-11 17:11:55 +08:00
科林_Cyril Pilgrim c07c4c7b5f update 2025-02-11 16:58:56 +08:00
科林_Cyril Pilgrim 2fd796781f update 2025-02-11 00:18:51 +08:00
科林_Cyril Pilgrim d8fca4a6a8 update 2025-02-10 16:50:29 +08:00
科林_Cyril Pilgrim c4bafc9811 push 2025-02-10 00:15:55 +08:00
科林_Cyril Pilgrim 3429170c68 niubi 2025-02-08 19:13:35 +08:00
科林_Cyril Pilgrim 51bf0dbccf push 2025-02-08 15:34:47 +08:00
科林_Cyril Pilgrim 45b8d604ad push 2025-02-07 23:33:19 +08:00
科林_Cyril Pilgrim dbe993187f push 2025-02-07 23:27:31 +08:00
科林_Cyril Pilgrim 4b550acfcd Delete backup.py 2025-02-07 22:25:41 +08:00
科林_Cyril Pilgrim 7aaabaee06 Delete .DS_Store 2025-02-07 18:13:29 +08:00
科林_Cyril Pilgrim 121cbecfcf Merge branch 'main' of https://github.com/HuangYuChuh/ComfyUI-DeepSeek-Toolkit 2025-02-07 17:20:22 +08:00
科林_Cyril Pilgrim f7682f20b7 push 2025-02-07 17:20:16 +08:00
科林_Cyril Pilgrim 67414b16d4 Delete workflow/1.json 2025-02-07 14:16:52 +08:00
科林_Cyril Pilgrim 8ef6e26e64 Create 1.json 2025-02-07 14:15:48 +08:00
科林_Cyril Pilgrim 660c82e2ba Update README.md 2025-02-07 14:10:17 +08:00
科林_Cyril Pilgrim 46df3e6114 Update README.md 2025-02-07 12:06:07 +08:00
科林_Cyril Pilgrim 218102c75c Update README.md 2025-02-07 12:05:29 +08:00
科林_Cyril Pilgrim 3ca2a709e3 Update README.md 2025-02-07 12:05:09 +08:00
科林_Cyril Pilgrim d763600d4d Update README.md 2025-02-07 11:52:29 +08:00
科林_Cyril Pilgrim 74c2077512 Update README.md 2025-02-07 11:50:56 +08:00