[PR #1499] [MERGED] update oci plugin #1926

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

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-official-plugins/pull/1499
Author: @jin38324
Created: 8/13/2025
Status: Merged
Merged: 8/13/2025
Merged by: @crazywoola

Base: mainHead: main


📝 Commits (2)

📊 Changes

44 files changed (+1276 additions, -561 deletions)

View changed files

📝 models/oci/.env.example (+1 -2)
models/oci/PRIVACY.md (+5 -0)
📝 models/oci/README.md (+6 -2)
models/oci/_assets/icon_l_en.png (+0 -0)
models/oci/_assets/icon_l_en.svg (+0 -1)
models/oci/_assets/icon_s_en.png (+0 -0)
models/oci/_assets/icon_s_en.svg (+0 -1)
📝 models/oci/_assets/oci_config.PNG (+0 -0)
📝 models/oci/main.py (+1 -1)
📝 models/oci/manifest.yaml (+11 -8)
📝 models/oci/models/llm/_position.yaml (+12 -8)
models/oci/models/llm/call_api.py (+92 -0)
📝 models/oci/models/llm/llm.py (+476 -324)
models/oci/models/llm/llm.yaml (+33 -0)
models/oci/models/llm/models/cohere/cohere.command-a-03-2025.yaml (+52 -0)
📝 models/oci/models/llm/models/cohere/cohere.command-r-08-2024.yaml (+2 -1)
📝 models/oci/models/llm/models/cohere/cohere.command-r-plus-08-2024.yaml (+2 -1)
📝 models/oci/models/llm/models/deprecated/cohere.command-r-16k.yaml (+0 -0)
📝 models/oci/models/llm/models/deprecated/cohere.command-r-plus.yaml (+0 -0)
📝 models/oci/models/llm/models/deprecated/meta.llama-3-70b-instruct.yaml (+0 -0)

...and 24 more files

📄 Description

This PR contains Changes to LLM Models Plugin

  • Modified the authentication information submission method;
  • Refactored requests using the Python SDK;
  • Supported grok4;
  • Optimized tooling and multi-modal support.

LLM Models Test Example:
image

  • My Changes Affect Message Flow Handling (System Messages and User→Assistant Turn-Taking)
  • My Changes Affect Tool Interaction Flow (Multi-Round Usage and Output Handling, for both Agent App and Agent Node)
  • My Changes Affect Multimodal Input Handling (Images, PDFs, Audio, Video, etc.)
  • My Changes Affect Multimodal Output Generation (Images, Audio, Video, etc.)

  • My Changes Affect Structured Output Format (JSON, XML, etc.)

  • My Changes Affect Token Consumption Metrics

  • My Changes Affect Other LLM Functionalities (Reasoning Process, Grounding, Prompt Caching, etc.)

  • Other Changes (Add New Models, Fix Model Parameters etc.)

    • Add grok4

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

  • 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.7.1, 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/1499 **Author:** [@jin38324](https://github.com/jin38324) **Created:** 8/13/2025 **Status:** ✅ Merged **Merged:** 8/13/2025 **Merged by:** [@crazywoola](https://github.com/crazywoola) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (2) - [`93480e4`](https://github.com/langgenius/dify-official-plugins/commit/93480e4846e30817509bb9fcacb60de5c21bb7c9) update oci plugin - [`d873783`](https://github.com/langgenius/dify-official-plugins/commit/d8737839f653b86448e6a3fe6d914e80d33a03e9) FIX author: langgenius ### 📊 Changes **44 files changed** (+1276 additions, -561 deletions) <details> <summary>View changed files</summary> 📝 `models/oci/.env.example` (+1 -2) ➕ `models/oci/PRIVACY.md` (+5 -0) 📝 `models/oci/README.md` (+6 -2) ➕ `models/oci/_assets/icon_l_en.png` (+0 -0) ➖ `models/oci/_assets/icon_l_en.svg` (+0 -1) ➕ `models/oci/_assets/icon_s_en.png` (+0 -0) ➖ `models/oci/_assets/icon_s_en.svg` (+0 -1) 📝 `models/oci/_assets/oci_config.PNG` (+0 -0) 📝 `models/oci/main.py` (+1 -1) 📝 `models/oci/manifest.yaml` (+11 -8) 📝 `models/oci/models/llm/_position.yaml` (+12 -8) ➕ `models/oci/models/llm/call_api.py` (+92 -0) 📝 `models/oci/models/llm/llm.py` (+476 -324) ➕ `models/oci/models/llm/llm.yaml` (+33 -0) ➕ `models/oci/models/llm/models/cohere/cohere.command-a-03-2025.yaml` (+52 -0) 📝 `models/oci/models/llm/models/cohere/cohere.command-r-08-2024.yaml` (+2 -1) 📝 `models/oci/models/llm/models/cohere/cohere.command-r-plus-08-2024.yaml` (+2 -1) 📝 `models/oci/models/llm/models/deprecated/cohere.command-r-16k.yaml` (+0 -0) 📝 `models/oci/models/llm/models/deprecated/cohere.command-r-plus.yaml` (+0 -0) 📝 `models/oci/models/llm/models/deprecated/meta.llama-3-70b-instruct.yaml` (+0 -0) _...and 24 more files_ </details> ### 📄 Description ## This PR contains Changes to *LLM Models Plugin* - Modified the authentication information submission method; - Refactored requests using the Python SDK; - Supported grok4; - Optimized tooling and multi-modal support. LLM Models Test Example: <img width="1920" height="946" alt="image" src="https://github.com/user-attachments/assets/61bd8cc2-bf4d-41dd-82e7-80f6b4e0536b" /> - [ ] My Changes Affect Message Flow Handling (System Messages and User→Assistant Turn-Taking) <!-- 📷 Include Screenshots/Videos Demonstrating the Fix, New Feature, or the Behavior Before/After Breaking Changes. --> - [x] My Changes Affect Tool Interaction Flow (Multi-Round Usage and Output Handling, for both Agent App and Agent Node) <!-- 📷 Include Screenshots/Videos Demonstrating the Fix, New Feature, or the Behavior Before/After Breaking Changes. --> - [x] My Changes Affect Multimodal Input Handling (Images, PDFs, Audio, Video, etc.) <!-- 📷 Include Screenshots/Videos Demonstrating the Fix, New Feature, or the Behavior Before/After Breaking Changes. --> - [ ] My Changes Affect Multimodal Output Generation (Images, Audio, Video, etc.) - [ ] My Changes Affect Structured Output Format (JSON, XML, etc.) - [x] My Changes Affect Token Consumption Metrics - [ ] My Changes Affect Other LLM Functionalities (Reasoning Process, Grounding, Prompt Caching, etc.) - [x] Other Changes (Add New Models, Fix Model Parameters etc.) - Add grok4 ## 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)) ## Environment Verification (If Any Code Changes) ### Local Deployment Environment - [x] Dify Version is: 1.7.1, I have Tested My Changes on Local Deployment Dify with a Clean Environment That Matches the Production Configuration. ### SaaS Environment - [x] I have Tested My Changes on cloud.dify.ai with a Clean Environment That Matches the Production Configuration --- <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:15 -05:00
yindo closed this issue 2026-02-16 11:15:15 -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#1926