mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
[PR #2042] [MERGED] feat: support thinking and refactor grounding search for vertex_ai #2221
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/2042
Author: @Zhaohuai-L
Created: 11/11/2025
Status: ✅ Merged
Merged: 11/12/2025
Merged by: @crazywoola
Base:
main← Head:feat_vertex📝 Commits (4)
e2c59bffeat: support thinking and refactor grounding search for vertex_ai2c2c1affix: bump the version to 0.0.268d87ae2fix: some typosf18146dfeat: introduce gemini-2.5-flash-lite-preview-09-2025 and gemini-2.5-flash-preview-09-2025📊 Changes
15 files changed (+524 additions, -147 deletions)
View changed files
📝
models/vertex_ai/manifest.yaml(+1 -1)📝
models/vertex_ai/models/llm/gemini-2.0-flash-001.yaml(+9 -9)📝
models/vertex_ai/models/llm/gemini-2.0-flash-lite-001.yaml(+9 -9)📝
models/vertex_ai/models/llm/gemini-2.5-flash-lite-preview-06-17.yaml(+30 -13)➕
models/vertex_ai/models/llm/gemini-2.5-flash-lite-preview-09-2025.yaml(+75 -0)📝
models/vertex_ai/models/llm/gemini-2.5-flash-lite.yaml(+30 -8)📝
models/vertex_ai/models/llm/gemini-2.5-flash-preview-04-17.yaml(+30 -8)📝
models/vertex_ai/models/llm/gemini-2.5-flash-preview-05-20.yaml(+30 -8)➕
models/vertex_ai/models/llm/gemini-2.5-flash-preview-09-2025.yaml(+75 -0)📝
models/vertex_ai/models/llm/gemini-2.5-flash.yaml(+30 -8)📝
models/vertex_ai/models/llm/gemini-2.5-pro-preview-03-25.yaml(+30 -8)📝
models/vertex_ai/models/llm/gemini-2.5-pro-preview-05-06.yaml(+30 -8)📝
models/vertex_ai/models/llm/gemini-2.5-pro-preview-06-05.yaml(+30 -8)📝
models/vertex_ai/models/llm/gemini-2.5-pro.yaml(+30 -8)📝
models/vertex_ai/models/llm/llm.py(+85 -51)📄 Description
Related Issues or Context
Thanks to @jortegac for migrating vertex_ai to the Google Gen AI SDK! However, some features were not included. This PR aims to add these missing capabilities:
For more details, please refer to:
https://ai.google.dev/gemini-api/docs/thinking
https://cloud.google.com/vertex-ai/generative-ai/docs/grounding/overview
https://github.com/user-attachments/assets/c739129f-03ab-4701-9c40-ab531b3b5eaa
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.3.0,<0.6.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.