mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-22 01:55:27 -04:00
[PR #1039] [MERGED] feat: Add new vertex_ai models and fix Grounding bug #1688
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/1039
Author: @GonzaHM
Created: 6/5/2025
Status: ✅ Merged
Merged: 6/8/2025
Merged by: @crazywoola
Base:
main← Head:feat/add-vertex-ai-model📝 Commits (3)
d4b5a5afeat: Add new model configurations and Claude Sonnet 4 support050a465fix: Correct Grounding to use full message history1705c25feat(vertex_ai): Add support for Claude 3.7 Sonnet and Claude Opus 4📊 Changes
7 files changed (+277 additions, -3 deletions)
View changed files
📝
models/vertex_ai/manifest.yaml(+1 -1)➕
models/vertex_ai/models/llm/anthropic.claude-3.7-sonnet.yaml(+57 -0)➕
models/vertex_ai/models/llm/anthropic.claude-opus-4.yaml(+57 -0)➕
models/vertex_ai/models/llm/anthropic.claude-sonnet-4.yaml(+57 -0)➕
models/vertex_ai/models/llm/gemini-2.0-flash-lite-001.yaml(+50 -0)➕
models/vertex_ai/models/llm/gemini-2.5-flash-preview-05-20.yaml(+53 -0)📝
models/vertex_ai/models/llm/llm.py(+2 -2)📄 Description
Related Issues or Context
This Pull Request introduces support for several new models and addresses a bug related to the Grounding feature.
Key changes include:
llm.pyto handle the Claude Sonnet 4 model.Close https://github.com/langgenius/dify-official-plugins/issues/805
Close https://github.com/langgenius/dify-official-plugins/issues/623
Close https://github.com/langgenius/dify-official-plugins/issues/1018
This PR contains Changes to Non-Plugin
This PR contains Changes to Non-LLM Models Plugin
This PR contains Changes to LLM Models Plugin
Version Control (Any Changes to the Plugin Will Require Bumping the Version)
VersionField, Not in Meta Section)Dify Plugin SDK Version
dify_plugin>=0.2.0,<0.4.0in requirements.txt (SDK docs)Environment Verification (If Any Code Changes)
Local Deployment Environment
Confirmed that the three newly added models respond correctly
Confirmed that the bug where Grounding only referenced the first prompt when enabled has been resolved.
SaaS Environment
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.