5 Commits
Author SHA1 Message Date
HuangYuChuh a4cefbd3b7 Update repo links to current owner 2026-04-09 20:30:19 +08:00
科林_Cyril Pilgrim 639c6bfb41 refactor(nodes): rename ImagePreprocessor to ImagePrep
Motivation:
统一类名、显示名与文件名,以匹配 'Image Prep' 的简洁命名规范,提升代码一致性。

Implementation:
将 image_processor.py 重名为 image_prep.py,同步修改类名与节点映射 ID,并更新了示例工作流 JSON 中的节点引用。
2026-03-05 19:16:29 +08:00
科林_Cyril Pilgrim cbead14599 feat(nodes): enhance LLM adapter with explicit config passthrough
Motivation:
Users were confused by implicit configuration fallback and inconsistent category naming. The adapter also had a bug where unparsed dropdown values were sent to the API.

Implementation:
1. Re-categorized node under 'LLM'.
2. Added 'LLM_CONFIG (from input)' to provider/model dropdowns for explicit passthrough.
3. Updated default prompts to English/hello.
4. Ensured all API requests use resolved 'actual_model' instead of raw dropdown values.
2026-03-03 11:41:38 +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 079ebb1945 🏗️ 重构项目文件结构
📁 重新组织项目架构:
  - 📚 docs/: 集中管理所有文档
  - 🔧 src/: 源代码模块化分类
    - core/: 核心LLM功能
    - processors/: 图像和文本处理
    - utils/: 工具函数
    - nodes/: ComfyUI节点定义
  - ⚙️ config/: 配置文件
  - 📋 examples/: 示例和工作流
  - 🧪 tests/: 测试文件

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

🎯 提升了项目的可维护性和专业性
2025-06-23 15:45:33 +08:00