mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-22 01:55:27 -04:00
[PR #1276] [MERGED] feat(OCI): support grok models, fix punctuation bug, handle prompts containing images #1810
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langgenius/dify-official-plugins/pull/1276
Author: @yushibats
Created: 7/13/2025
Status: ✅ Merged
Merged: 7/13/2025
Merged by: @crazywoola
Base:
main← Head:vision📝 Commits (10+)
3774d9aAdd support for xai.grok-3, llama4 and cohereEmbed4efb94ddMerge branch 'langgenius:main' into grok24c6fd5Fix: load .env to use remote debug config1094bbeFix: Grokファイル修正47ee31aFix main.py2c99016Fix: _handle_generate_stream_response2c10999Fix llm.py vision8df3dfbFix llm.py visionde7b03fFix llm.py vision48bdb76Fix llm.py vision📊 Changes
11 files changed (+315 additions, -63 deletions)
View changed files
📝
models/oci/manifest.yaml(+2 -2)📝
models/oci/models/llm/_position.yaml(+4 -1)📝
models/oci/models/llm/llm.py(+191 -55)📝
models/oci/models/llm/meta.llama-3.2-90b-vision-instruct.yaml(+1 -0)📝
models/oci/models/llm/meta.llama-4-maverick-17b-128e-instruct-fp8.yaml(+1 -1)📝
models/oci/models/llm/meta.llama-4-scout-17b-16e-instruct.yaml(+1 -1)➕
models/oci/models/llm/xai.grok-3-fast.yaml(+43 -0)➕
models/oci/models/llm/xai.grok-3-mini-fast.yaml(+33 -0)➕
models/oci/models/llm/xai.grok-3-mini.yaml(+36 -0)📝
models/oci/provider/oci.py(+1 -1)📝
models/oci/requirements.txt(+2 -2)📄 Description
Related Issues or Context
fix https://github.com/langgenius/dify-official-plugins/issues/1271
fix https://github.com/langgenius/dify-official-plugins/issues/1272
fix https://github.com/langgenius/dify-official-plugins/issues/1273
This PR contains Changes to Non-Plugin
This PR contains Changes to Non-LLM Models Plugin
This PR contains Changes to LLM Models Plugin
https://github.com/langgenius/dify-official-plugins/issues/1271

fixed duplicated punctuation issue
https://github.com/langgenius/dify-official-plugins/issues/1272

added 3 currently unsupported grok models
https://github.com/langgenius/dify-official-plugins/issues/1273
fixed llm.py to handle prompts that contains images
Version Control (Any Changes to the Plugin Will Require Bumping the Version)
VersionField, Not in Meta Section)Dify Plugin SDK Version
dify_plugin>=0.3.0,<0.5.0is in requirements.txt (SDK docs)Environment Verification (If Any Code Changes)
Local Deployment Environment
SaaS Environment
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.