mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
[PR #2520] [MERGED] feat(vertex_ai): enhance Gemini 3 model configs and upgrade dependencies #2539
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/2520
Author: @trongtrandp
Created: 1/29/2026
Status: ✅ Merged
Merged: 1/31/2026
Merged by: @crazywoola
Base:
main← Head:feat/vertex-ai-gemini3-enhancements📝 Commits (2)
636532dfeat(vertex_ai): enhance Gemini 3 model configs and upgrade dependenciesa89e95bMerge branch 'main' into feat/vertex-ai-gemini3-enhancements📊 Changes
5 files changed (+494 additions, -43 deletions)
View changed files
📝
models/vertex_ai/manifest.yaml(+1 -1)📝
models/vertex_ai/models/llm/gemini-3-flash-preview.yaml(+50 -12)📝
models/vertex_ai/models/llm/gemini-3-pro-preview.yaml(+50 -12)📝
models/vertex_ai/requirements.txt(+3 -3)📝
models/vertex_ai/uv.lock(+390 -15)📄 Description
Summary
Enhance Gemini 3 model configurations with new features and upgrade Google SDK dependencies.
Changes
Model Configs (
gemini-3-pro-preview.yaml,gemini-3-flash-preview.yaml)MinimalandMediumthinking levels (previously only Low/High)Groundingfeature - Google Search integration for fact-checkingURL Contextfeature - browse and analyze URLs for referenceCode Executionfeature - let Gemini use code to solve tasksstructured-outputfeature supporttemperatureparameter description with note: "For Gemini 3, best results at default 1.0. Lower values may impact reasoning."max_output_tokensparameter labels and descriptionsCode (
llm.py)groundingparameter (backward compatible withgrounding_search)url_contextparameter →types.Tool(url_context=types.UrlContext())code_executionparameter →types.Tool(code_execution=types.ToolCodeExecution())thinking_levelmapping to handle SDK version differences (Minimal/Low/Medium/High)Dependencies (
requirements.txt)google-genaifrom 1.51.0 → 1.56.0google-authfrom 2.29.0 → >=2.45.0google-api-coreto >=2.23.0Test plan
GoogleSearch,UrlContext,ToolCodeExecution🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.