[PR #1618] [MERGED] fix: ComfyUI 0.2.5 #1990

Closed
opened 2026-02-16 11:15:47 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-official-plugins/pull/1618
Author: @yt-koike
Created: 8/29/2025
Status: Merged
Merged: 8/31/2025
Merged by: @crazywoola

Base: mainHead: main


📝 Commits (3)

📊 Changes

22 files changed (+308 additions, -426 deletions)

View changed files

📝 tools/comfyui/main.py (+1 -1)
📝 tools/comfyui/manifest.yaml (+1 -1)
📝 tools/comfyui/provider/comfyui.py (+3 -5)
tools/comfyui/ruff.toml (+104 -0)
📝 tools/comfyui/tools/comfyui_client.py (+17 -40)
📝 tools/comfyui/tools/comfyui_workflow.py (+8 -19)
📝 tools/comfyui/tools/convert_to_api.py (+1 -3)
📝 tools/comfyui/tools/download_by_json.py (+2 -6)
📝 tools/comfyui/tools/download_by_url.py (+2 -5)
📝 tools/comfyui/tools/download_civitai.py (+5 -14)
📝 tools/comfyui/tools/download_huggingface.py (+3 -8)
📝 tools/comfyui/tools/image_info.py (+1 -3)
📝 tools/comfyui/tools/img2any.py (+9 -16)
📝 tools/comfyui/tools/img2img.py (+8 -20)
📝 tools/comfyui/tools/img2vid.py (+35 -49)
📝 tools/comfyui/tools/list_models.py (+2 -7)
📝 tools/comfyui/tools/list_samplers.py (+2 -7)
📝 tools/comfyui/tools/model_manager.py (+13 -32)
📝 tools/comfyui/tools/quickstart.py (+42 -64)
📝 tools/comfyui/tools/run_workflow.py (+3 -9)

...and 2 more files

📄 Description

Related Issues or Context

This PR contains Changes to Non-Plugin

  • Documentation
  • Other

This PR contains Changes to Non-LLM Models Plugin

  • I have Run Comprehensive Tests Relevant to My Changes

This PR does NOT contain Changes to LLM Models Plugin

Version Control (Any Changes to the Plugin Will Require Bumping the Version)

  • I have Bumped Up the Version in Manifest.yaml (Top-Level Version Field, Not in Meta Section)

Dify Plugin SDK Version

  • I have Ensured dify_plugin>=0.3.0,<0.5.0 is in requirements.txt (SDK docs)

Environment Verification (If Any Code Changes)

Local Deployment Environment

  • Dify Version is: 1.8.0, I have Tested My Changes on Local Deployment Dify with a Clean Environment That Matches the Production Configuration.

SaaS Environment

  • I have Tested My Changes on cloud.dify.ai with a Clean Environment That Matches the Production Configuration

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify-official-plugins/pull/1618 **Author:** [@yt-koike](https://github.com/yt-koike) **Created:** 8/29/2025 **Status:** ✅ Merged **Merged:** 8/31/2025 **Merged by:** [@crazywoola](https://github.com/crazywoola) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (3) - [`6b7a08a`](https://github.com/langgenius/dify-official-plugins/commit/6b7a08ad8c2cb2692d661568d30559c062295bde) rm replace("'",'"') on json file - [`1158487`](https://github.com/langgenius/dify-official-plugins/commit/1158487194e1555cbc597ff16af080f5e58a2fea) introduce ruff the format - [`bb797e5`](https://github.com/langgenius/dify-official-plugins/commit/bb797e57a99b081e5c51d46df08ded601c268c93) Bump up the version ### 📊 Changes **22 files changed** (+308 additions, -426 deletions) <details> <summary>View changed files</summary> 📝 `tools/comfyui/main.py` (+1 -1) 📝 `tools/comfyui/manifest.yaml` (+1 -1) 📝 `tools/comfyui/provider/comfyui.py` (+3 -5) ➕ `tools/comfyui/ruff.toml` (+104 -0) 📝 `tools/comfyui/tools/comfyui_client.py` (+17 -40) 📝 `tools/comfyui/tools/comfyui_workflow.py` (+8 -19) 📝 `tools/comfyui/tools/convert_to_api.py` (+1 -3) 📝 `tools/comfyui/tools/download_by_json.py` (+2 -6) 📝 `tools/comfyui/tools/download_by_url.py` (+2 -5) 📝 `tools/comfyui/tools/download_civitai.py` (+5 -14) 📝 `tools/comfyui/tools/download_huggingface.py` (+3 -8) 📝 `tools/comfyui/tools/image_info.py` (+1 -3) 📝 `tools/comfyui/tools/img2any.py` (+9 -16) 📝 `tools/comfyui/tools/img2img.py` (+8 -20) 📝 `tools/comfyui/tools/img2vid.py` (+35 -49) 📝 `tools/comfyui/tools/list_models.py` (+2 -7) 📝 `tools/comfyui/tools/list_samplers.py` (+2 -7) 📝 `tools/comfyui/tools/model_manager.py` (+13 -32) 📝 `tools/comfyui/tools/quickstart.py` (+42 -64) 📝 `tools/comfyui/tools/run_workflow.py` (+3 -9) _...and 2 more files_ </details> ### 📄 Description ## Related Issues or Context <!-- ⚠️ NOTE: This repository is for Dify Official Plugins only. For community contributions, please submit to https://github.com/langgenius/dify-plugins instead. - Link Related Issues if Applicable: #issue_number - Or Provide Context about Why this Change is Needed --> * Fix: https://github.com/langgenius/dify-official-plugins/issues/1617 * Refactor: introduce ruff as a formatter with the same style with [Dify's](https://github.com/langgenius/dify/blob/0fe078d25e2ea64d6df473f338b5b93c63b28950/api/.ruff.toml) ## This PR contains Changes to *Non-Plugin* <!-- Put an `x` in all the boxes that apply by replacing [ ] with [x] For example: - [x] Documentation --> - [ ] Documentation - [ ] Other ## This PR contains Changes to *Non-LLM Models Plugin* - [x] I have Run Comprehensive Tests Relevant to My Changes <!-- 📷 Include Screenshots/Videos Demonstrating the Fix, New Feature, or the Behavior Before/After Breaking Changes. --> ## This PR does NOT contain Changes to *LLM Models Plugin* ## Version Control (Any Changes to the Plugin Will Require Bumping the Version) - [x] I have Bumped Up the Version in Manifest.yaml (Top-Level `Version` Field, Not in Meta Section) <!-- ⚠️ NOTE: Version Format: MAJOR.MINOR.PATCH - MAJOR (0.x.x): Reserved for Significant architectural changes or incompatible API modifications - MINOR (x.0.x): For New feature additions while maintaining backward compatibility - PATCH (x.x.0): For Backward-compatible bug fixes and minor improvements - Note: Each Version Component (MAJOR, MINOR, PATCH) Can Be 2 Digits, e.g., 10.11.22 --> ## Dify Plugin SDK Version - [x] I have Ensured `dify_plugin>=0.3.0,<0.5.0` is in requirements.txt ([SDK docs](https://github.com/langgenius/dify-plugin-sdks/blob/main/python/README.md)) ## Environment Verification (If Any Code Changes) <!-- ⚠️ NOTE: At Least One Environment Must Be Tested. --> ### Local Deployment Environment - [x] Dify Version is: 1.8.0, I have Tested My Changes on Local Deployment Dify with a Clean Environment That Matches the Production Configuration. <!-- - Python Virtual Env Matching Manifest.yaml & requirements.txt - No Breaking Changes in Dify That May Affect the Testing Result --> ### SaaS Environment - [ ] I have Tested My Changes on cloud.dify.ai with a Clean Environment That Matches the Production Configuration <!-- - Python Virtual Env Matching Manifest.yaml & requirements.txt --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 11:15:47 -05:00
yindo closed this issue 2026-02-16 11:15:47 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#1990