mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-22 01:55:27 -04:00
[PR #2517] [MERGED] Fix dependency conflict, remove deprecated models, and align credential validation #2534
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/2517
Author: @WH-2099
Created: 1/29/2026
Status: ✅ Merged
Merged: 2/4/2026
Merged by: @Stream29
Base:
main← Head:fix/gemini-dependencies📝 Commits (6)
40121a0build(gemini): Dependency conflict betweengoogle-auth==2.41.1andgoogle-genai>=1.56.0302c4effix(gemini): use LLM generation API for credential validationb0c6cfachore(gemini): update plugin version to 0.7.5ee84416style: format code for better readability and consistency across multiple files3114d4bfix(gemini): update test_message_with_empty_content to match filtering behavior962e060fix(gemini): remove deprecated image generation models and clean up embedding list📊 Changes
11 files changed (+594 additions, -299 deletions)
View changed files
📝
models/gemini/manifest.yaml(+5 -5)📝
models/gemini/models/llm/llm.py(+221 -120)📝
models/gemini/models/llm/utils.py(+3 -1)📝
models/gemini/models/tests/test_document_filtering.py(+96 -44)📝
models/gemini/models/tests/test_feature_compatibility.py(+63 -16)📝
models/gemini/models/tests/test_llm.py(+149 -76)📝
models/gemini/models/text_embedding/_position.yaml(+0 -2)📝
models/gemini/models/text_embedding/text_embedding.py(+36 -11)📝
models/gemini/provider/google.py(+6 -2)📝
models/gemini/pyproject.toml(+7 -10)📝
models/gemini/requirements.txt(+8 -12)📄 Description
Related Issues or Context
Fixes #2426
Closes #2515
Closes #2516
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.