Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,15 @@ jobs:
curl -L -o /tmp/dify-cli/dify-plugin-linux-amd64 https://github.com/langgenius/dify-plugin-daemon/releases/download/0.2.0/dify-plugin-linux-amd64
chmod +x /tmp/dify-cli/dify-plugin-linux-amd64

- name: Prepare plugin files
run: |
mkdir -p /tmp/plugin-build
# 复制需要的文件,排除 .git、.github 等不需要的目录
rsync -av --exclude='.git' --exclude='.github' . /tmp/plugin-build/

- name: Package plugin
run: |
/tmp/dify-cli/dify-plugin-linux-amd64 plugin package -o qiniu.difypkg .
/tmp/dify-cli/dify-plugin-linux-amd64 plugin package -o qiniu.difypkg /tmp/plugin-build

- name: Upload package to release
uses: actions/upload-release-asset@v1
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/runnable.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Runnable

on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12"]

steps:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt

- name: Test plugin runs without errors
run: |
timeout 10s python -m main || [ $? -eq 124 ]
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

支持多种先进的 AI 大语言模型:

- **OpenAI 开源系列**:GPT-OSS-120b、GPT-OSS-20b
- **DeepSeek 系列**:deepseek-r1、deepseek-v3
- **GLM 系列**:GLM-4.5、GLM-4.5-Air
- **Kimi 系列**:Kimi-K2
Expand Down
6 changes: 3 additions & 3 deletions manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ author: qiniu
icon: icon_s_en.svg
created_at: '2025-07-31T00:13:50.29298939-04:00'
description:
en_US: Official Qiniu Cloud Dify plugin providing comprehensive AI inference services and cloud storage management. Supports multiple LLM models including deepseek-r1, deepseek-v3, GLM-4.5, Kimi-K2, Qwen series, and offers complete file management capabilities such as file upload, bucket operations, and content retrieval.
zh_Hans: 七牛云官方 Dify 插件,提供全面的 AI 推理服务和云存储管理功能。支持 deepseek-r1、deepseek-v3、GLM-4.5、Kimi-K2、Qwen 系列等多种大语言模型,并提供完整的文件管理能力,包括文件上传、存储空间操作和内容获取等功能。
en_US: Official Qiniu Cloud Dify plugin providing comprehensive AI inference services and cloud storage management. Supports multiple LLM models including GPT-OSS、deepseekGLMKimiQwen series, and offers complete file management capabilities such as file upload, bucket operations, and content retrieval.
zh_Hans: 七牛云官方 Dify 插件,提供全面的 AI 推理服务和云存储管理功能。支持 GPT-OSS、deepseek、GLM、Kimi、Qwen 系列等多种大语言模型,并提供完整的文件管理能力,包括文件上传、存储空间操作和内容获取等功能。

label:
en_US: Qiniu Cloud
Expand Down Expand Up @@ -37,4 +37,4 @@ resource:
tool:
enabled: true
type: plugin
version: 0.1.0
version: 0.1.1
4 changes: 4 additions & 0 deletions models/llm/_position.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
- gpt-oss-120b
- gpt-oss-20b
- glm-45
- glm-45-air
- deepseek-v3
- deepseek-r1
- qwen-turbo
Expand Down
File renamed without changes.
File renamed without changes.
48 changes: 48 additions & 0 deletions models/llm/gpt-oss-120b.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
model: gpt-oss-120b
label:
zh_Hans: gpt-oss-120b
en_US: gpt-oss-120b
model_type: llm
features:
- tool-call
- agent-thought
- multi-tool-call
- stream-tool-call
model_properties:
mode: chat
context_size: 131000
parameter_rules:
- name: temperature
use_template: temperature
- name: max_tokens
use_template: max_tokens
type: int
default: 512
min: 1
max: 8192
help:
zh_Hans: 指定生成结果长度的上限。如果生成结果截断,可以调大该参数。
en_US: Specifies the upper limit on the length of generated results. If the generated results are truncated, you can increase this parameter.
- name: top_p
use_template: top_p
- name: top_k
label:
zh_Hans: 取样数量
en_US: Top k
type: int
help:
zh_Hans: 仅从每个后续标记的前 K 个选项中采样。
en_US: Only sample from the top K options for each subsequent token.
required: false
- name: response_format
label:
zh_Hans: 回复格式
en_US: Response Format
type: string
help:
zh_Hans: 指定模型必须输出的格式
en_US: specifying the format that the model must output
required: false
options:
- text
- json_object
48 changes: 48 additions & 0 deletions models/llm/gpt-oss-20b.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
model: gpt-oss-20b
label:
zh_Hans: gpt-oss-20b
en_US: gpt-oss-20b
model_type: llm
features:
- tool-call
- agent-thought
- multi-tool-call
- stream-tool-call
model_properties:
mode: chat
context_size: 131000
parameter_rules:
- name: temperature
use_template: temperature
- name: max_tokens
use_template: max_tokens
type: int
default: 512
min: 1
max: 8192
help:
zh_Hans: 指定生成结果长度的上限。如果生成结果截断,可以调大该参数。
en_US: Specifies the upper limit on the length of generated results. If the generated results are truncated, you can increase this parameter.
- name: top_p
use_template: top_p
- name: top_k
label:
zh_Hans: 取样数量
en_US: Top k
type: int
help:
zh_Hans: 仅从每个后续标记的前 K 个选项中采样。
en_US: Only sample from the top K options for each subsequent token.
required: false
- name: response_format
label:
zh_Hans: 回复格式
en_US: Response Format
type: string
help:
zh_Hans: 指定模型必须输出的格式
en_US: specifying the format that the model must output
required: false
options:
- text
- json_object
4 changes: 2 additions & 2 deletions provider/qiniu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ label:
en_US: Qiniu Cloud
zh_Hans: 七牛云
description:
en_US: Official Qiniu Cloud Dify plugin providing comprehensive AI inference services and cloud storage management. Supports multiple LLM models including deepseek-r1, deepseek-v3, GLM-4.5, Kimi-K2, Qwen series, and offers complete file management capabilities such as file upload, bucket operations, and content retrieval.
zh_Hans: 七牛云官方 Dify 插件,提供全面的 AI 推理服务和云存储管理功能。支持 deepseek-r1、deepseek-v3、GLM-4.5、Kimi-K2、Qwen 系列等多种大语言模型,并提供完整的文件管理能力,包括文件上传、存储空间操作和内容获取等功能。
en_US: Official Qiniu Cloud Dify plugin providing comprehensive AI inference services and cloud storage management. Supports multiple LLM models including GPT-OSS、deepseekGLMKimiQwen series, and offers complete file management capabilities such as file upload, bucket operations, and content retrieval.
zh_Hans: 七牛云官方 Dify 插件,提供全面的 AI 推理服务和云存储管理功能。支持 GPT-OSS、deepseek、GLM、Kimi、Qwen 系列等多种大语言模型,并提供完整的文件管理能力,包括文件上传、存储空间操作和内容获取等功能。

icon_large:
en_US: icon_l_en.svg
Expand Down
4 changes: 2 additions & 2 deletions provider/qiniu_tools.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ identity:
en_US: Qiniu Cloud
zh_Hans: 七牛云
description:
en_US: Official Qiniu Cloud Dify plugin providing comprehensive AI inference services and cloud storage management. Supports multiple LLM models including deepseek-r1, deepseek-v3, GLM-4.5, Kimi-K2, Qwen series, and offers complete file management capabilities such as file upload, bucket operations, and content retrieval.
zh_Hans: 七牛云官方 Dify 插件,提供全面的 AI 推理服务和云存储管理功能。支持 deepseek-r1、deepseek-v3、GLM-4.5、Kimi-K2、Qwen 系列等多种大语言模型,并提供完整的文件管理能力,包括文件上传、存储空间操作和内容获取等功能。
en_US: Official Qiniu Cloud Dify plugin providing comprehensive AI inference services and cloud storage management. Supports multiple LLM models including GPT-OSS、deepseekGLMKimiQwen series, and offers complete file management capabilities such as file upload, bucket operations, and content retrieval.
zh_Hans: 七牛云官方 Dify 插件,提供全面的 AI 推理服务和云存储管理功能。支持 GPT-OSS、deepseek、GLM、Kimi、Qwen 系列等多种大语言模型,并提供完整的文件管理能力,包括文件上传、存储空间操作和内容获取等功能。

icon: icon_s_en.svg
tags:
Expand Down