mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
[PR #2568] [MERGED] fix(gemini_image): replace shutdown model name and add request timeout #2574
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/2568
Author: @Yevanchen
Created: 2/10/2026
Status: ✅ Merged
Merged: 2/11/2026
Merged by: @crazywoola
Base:
main← Head:claude/fix-gemini-timeout-pSdGO📝 Commits (3)
a0f8a01fix(gemini_image): replace shutdown model name and add request timeout596ec8efix(gemini_image): add required pyproject.toml for CIff94422Merge branch 'main' into claude/fix-gemini-timeout-pSdGO📊 Changes
4 files changed (+9 additions, -16 deletions)
View changed files
📝
tools/gemini_image/manifest.yaml(+1 -1)📝
tools/gemini_image/pyproject.toml(+3 -10)📝
tools/gemini_image/tools/image_generate.py(+3 -3)📝
tools/gemini_image/tools/image_generate.yaml(+2 -2)📄 Description
The default model
gemini-2.5-flash-image-previewwas shut down by Google on January 15, 2026, causing ReadTimeout errors. Update to the stable GA modelgemini-2.5-flash-imageand add explicit timeout (5s connect, 300s read) to requests.post() calls.https://claude.ai/code/session_01WSN95EzNKxUHULXP3esRoa
Related Issues or Context
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.