mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
[PR #596] [MERGED] improve gemini models #1453
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/596
Author: @hjlarry
Created: 3/28/2025
Status: ✅ Merged
Merged: 3/30/2025
Merged by: @Yeuoly
Base:
main← Head:p9📝 Commits (6)
3b20f21improve gemini modelsd9019aefix json schema4f2bd54fixd85a234use google-genai~=1.2.0d1c6d6ffix cache and dify plugin version203d677refactor FileCache initialization to ensure cache file is writable and fallback to temporary directory if not📊 Changes
6 files changed (+273 additions, -151 deletions)
View changed files
➕
models/gemini/file_cache.json(+1 -0)📝
models/gemini/main.py(+0 -2)📝
models/gemini/manifest.yaml(+1 -1)📝
models/gemini/models/llm/llm.py(+258 -130)📝
models/gemini/models/llm/utils.py(+12 -5)📝
models/gemini/requirements.txt(+1 -13)📄 Description
Related Issue or Context
change list:
google-genaipackage is enoughType of Change
Test Evidence
Issues with sending image messages have been resolved in pull request https://github.com/langgenius/dify-plugin-sdks/pull/73
Environment Verification
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.