HuangYuChuh
a4cefbd3b7
Update repo links to current owner
2026-04-09 20:30:19 +08:00
科林_Cyril Pilgrim
dc6d8eb9e8
docs(troubleshooting): add guide and align package version
2026-03-07 00:05:43 +08:00
科林_Cyril Pilgrim
88eac194c7
feat(all): implement LLMTranslator and internationalize documentation
...
Motivation:
Introduce a dedicated translation node for simplified workflows, enhance error logging, and make the project accessible to a global audience with a default English README.
Implementation:
1. Implemented LLMTranslator node with auto-language detection and glossary support.
2. Enhanced OpenAICompatibleLoader with request size tracking and detailed error diagnostics.
3. Renamed README.md -> README_CN.md and created a new idiomatic English README.md with language switchers.
4. Added docs/llm_translator_guide.md and removed redundant docs/readme_en.md.
2026-02-15 23:29:01 +08:00
科林_Cyril Pilgrim
7687ee1390
refactor: update OpenAICompatibleLoader to use config dict
...
- Change generate method signature to accept llm_config dictionary.
- Add logging for provider/model configuration.
- Add documentation for LLM configuration usage.
2026-02-11 15:47:44 +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
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
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