[PR #1438] [MERGED] feat: Add CometAPI model provider plugin #1889

Closed
opened 2026-02-16 10:24:17 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-official-plugins/pull/1438
Author: @tensornull
Created: 8/7/2025
Status: Merged
Merged: 8/8/2025
Merged by: @crazywoola

Base: mainHead: main


📝 Commits (6)

  • 3934c15 feat: Complete CometAPI model provider plugin with 500+ AI models support
  • 4ef7872 feature: Better multi-language support
  • 668dc60 Merge pull request #2 from cometapi-dev/develop
  • 814e07a fix: update author name from 'cometapi' to 'langgenius' in manifest files
  • a577c21 Merge branch 'main' into develop
  • 74f264e Merge pull request #3 from cometapi-dev/develop

📊 Changes

102 files changed (+5886 additions, -0 deletions)

View changed files

models/cometapi/.env.example (+4 -0)
models/cometapi/PRIVACY.md (+84 -0)
models/cometapi/README.md (+99 -0)
models/cometapi/_assets/cometapi_large.png (+0 -0)
models/cometapi/_assets/cometapi_small.png (+0 -0)
models/cometapi/main.py (+6 -0)
models/cometapi/manifest.yaml (+41 -0)
models/cometapi/models/common_openai.py (+49 -0)
models/cometapi/models/llm/__init__.py (+0 -0)
models/cometapi/models/llm/_position.yaml (+84 -0)
models/cometapi/models/llm/anthropic/claude-3-5-haiku-20241022.yaml (+98 -0)
models/cometapi/models/llm/anthropic/claude-3-5-sonnet-20240620.yaml (+100 -0)
models/cometapi/models/llm/anthropic/claude-3-5-sonnet-20241022.yaml (+100 -0)
models/cometapi/models/llm/anthropic/claude-3-7-sonnet-20250219.yaml (+131 -0)
models/cometapi/models/llm/anthropic/claude-3-haiku-20240307.yaml (+39 -0)
models/cometapi/models/llm/anthropic/claude-3-opus-20240229.yaml (+39 -0)
models/cometapi/models/llm/anthropic/claude-3-sonnet-20240229.yaml (+39 -0)
models/cometapi/models/llm/anthropic/claude-opus-4-20250514.yaml (+123 -0)
models/cometapi/models/llm/anthropic/claude-sonnet-4-20250514.yaml (+122 -0)
models/cometapi/models/llm/deepseek/deepseek-chat.yaml (+56 -0)

...and 80 more files

📄 Description

Related Issues or Context

  • Add CometAPI model provider plugin

    feat: Complete CometAPI model provider plugin with 500+ AI models support

    • Add CometAPI model provider with comprehensive API integration
    • Support for LLM, text embedding, TTS, and speech-to-text models
    • Include multilingual descriptions (EN/JP/ZH/PT-BR)
    • Implement common OpenAI-compatible interface for model integration

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

    1. Installation
    image
    1. Setup CometAPI Key
    image
    1. Get the supported models
    image
    1. Try to test for CometAPI

      image

This PR contains Changes to LLM Models Plugin

  • Other Changes (Add New Models, Fix Model Parameters etc.)
    Provide CometAPI support for Dify.
image

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

Environment Verification (If Any Code Changes)

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

🔄 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/1438 **Author:** [@tensornull](https://github.com/tensornull) **Created:** 8/7/2025 **Status:** ✅ Merged **Merged:** 8/8/2025 **Merged by:** [@crazywoola](https://github.com/crazywoola) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (6) - [`3934c15`](https://github.com/langgenius/dify-official-plugins/commit/3934c1538269d2740f66a2cc3806d464bd7a1f85) feat: Complete CometAPI model provider plugin with 500+ AI models support - [`4ef7872`](https://github.com/langgenius/dify-official-plugins/commit/4ef78728d7d6efdec5848b76f925a3db5aba8109) feature: Better multi-language support - [`668dc60`](https://github.com/langgenius/dify-official-plugins/commit/668dc60861ddfbb84a12f9ffb292c2e0e6a7d753) Merge pull request #2 from cometapi-dev/develop - [`814e07a`](https://github.com/langgenius/dify-official-plugins/commit/814e07a90ca71581206775b2e37d446e043a6ce2) fix: update author name from 'cometapi' to 'langgenius' in manifest files - [`a577c21`](https://github.com/langgenius/dify-official-plugins/commit/a577c21534dc9914fe2ccc88eb07e656a842dc30) Merge branch 'main' into develop - [`74f264e`](https://github.com/langgenius/dify-official-plugins/commit/74f264e3adca47f3a48240748a1be69e8ce789dd) Merge pull request #3 from cometapi-dev/develop ### 📊 Changes **102 files changed** (+5886 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `models/cometapi/.env.example` (+4 -0) ➕ `models/cometapi/PRIVACY.md` (+84 -0) ➕ `models/cometapi/README.md` (+99 -0) ➕ `models/cometapi/_assets/cometapi_large.png` (+0 -0) ➕ `models/cometapi/_assets/cometapi_small.png` (+0 -0) ➕ `models/cometapi/main.py` (+6 -0) ➕ `models/cometapi/manifest.yaml` (+41 -0) ➕ `models/cometapi/models/common_openai.py` (+49 -0) ➕ `models/cometapi/models/llm/__init__.py` (+0 -0) ➕ `models/cometapi/models/llm/_position.yaml` (+84 -0) ➕ `models/cometapi/models/llm/anthropic/claude-3-5-haiku-20241022.yaml` (+98 -0) ➕ `models/cometapi/models/llm/anthropic/claude-3-5-sonnet-20240620.yaml` (+100 -0) ➕ `models/cometapi/models/llm/anthropic/claude-3-5-sonnet-20241022.yaml` (+100 -0) ➕ `models/cometapi/models/llm/anthropic/claude-3-7-sonnet-20250219.yaml` (+131 -0) ➕ `models/cometapi/models/llm/anthropic/claude-3-haiku-20240307.yaml` (+39 -0) ➕ `models/cometapi/models/llm/anthropic/claude-3-opus-20240229.yaml` (+39 -0) ➕ `models/cometapi/models/llm/anthropic/claude-3-sonnet-20240229.yaml` (+39 -0) ➕ `models/cometapi/models/llm/anthropic/claude-opus-4-20250514.yaml` (+123 -0) ➕ `models/cometapi/models/llm/anthropic/claude-sonnet-4-20250514.yaml` (+122 -0) ➕ `models/cometapi/models/llm/deepseek/deepseek-chat.yaml` (+56 -0) _...and 80 more files_ </details> ### 📄 Description ## Related Issues or Context - Add CometAPI model provider plugin feat: Complete CometAPI model provider plugin with 500+ AI models support - Add CometAPI model provider with comprehensive API integration - Support for LLM, text embedding, TTS, and speech-to-text models - Include multilingual descriptions (EN/JP/ZH/PT-BR) - Implement common OpenAI-compatible interface for model integration ## This PR contains Changes to *Non-Plugin* - [ ] Documentation - [x] Other ## This PR contains Changes to *Non-LLM Models Plugin* - [x] I have Run Comprehensive Tests Relevant to My Changes 1. Installation <img width="767" height="117" alt="image" src="https://github.com/user-attachments/assets/403ca17c-f56e-4f7a-87df-e6981eccd46a" /> 2. Setup CometAPI Key <img width="1126" height="607" alt="image" src="https://github.com/user-attachments/assets/4c832850-1c1a-415b-b250-6f7a99beeddc" /> 3. Get the supported models <img width="759" height="556" alt="image" src="https://github.com/user-attachments/assets/31b4f1a3-6375-468f-99fc-f8a75f8fe14b" /> 4. Try to test for CometAPI <img width="1324" height="826" alt="image" src="https://github.com/user-attachments/assets/ba8ca00f-caf9-4407-a867-171eb0520c67" /> ## This PR contains Changes to *LLM Models Plugin* - [x] Other Changes (Add New Models, Fix Model Parameters etc.) **Provide CometAPI support for Dify.** <img width="767" height="117" alt="image" src="https://github.com/user-attachments/assets/b684a48f-02fe-4f85-bbef-777a5090b729" /> ## 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) ## 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)](https://github.com/langgenius/dify-plugin-sdks/blob/main/python/README.md)) ## Environment Verification (If Any Code Changes) ### SaaS Environment - [x] 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 10:24:17 -05:00
yindo closed this issue 2026-02-16 10:24:17 -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#1889