mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-22 01:55:27 -04:00
[PR #804] [MERGED] feat(gemini): Update Gemini Models to support image multimodal output #1560
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/804
Author: @QuantumGhost
Created: 4/27/2025
Status: ✅ Merged
Merged: 5/15/2025
Merged by: @Yeuoly
Base:
main← Head:feat/reapply-gemini-multimodal📝 Commits (8)
4ef9e9dfeat(gemini): Update Gemini Models to support image multimodal output324024eFix(gemini): Fix incorrect model name in _get_response_modalities47c4991chore: ignore common python related files in .gitignore2abddfefeat(gemini): upgrade to Gemini 0.2.0 with breaking changes, requires Dify>=1.4.0097f0ecchore(gemini): Ignore file_cache.json639ed48test(gemini): Add tests for _content_to_part and _convert_to_contents45cafc7Merge branch 'main' of https://github.com/langgenius/dify-official-plugins into feat/reapply-gemini-multimodal38a3e25Merge branch 'main' of https://github.com/langgenius/dify-official-plugins into feat/reapply-gemini-multimodal📊 Changes
6 files changed (+694 additions, -91 deletions)
View changed files
📝
.gitignore(+176 -0)➕
models/gemini/.gitignore(+1 -0)📝
models/gemini/README.md(+19 -2)📝
models/gemini/manifest.yaml(+2 -1)📝
models/gemini/models/llm/llm.py(+285 -88)➕
models/gemini/models/llm/test_llm.py(+211 -0)📄 Description
Related Issue or Context
Plugin side change for langgenius/dify#15814. Continuation of prematurely merged PR #687.
Type of Change
Version Control (if applicable)
Versionfield, not in Meta section)minimum_dify_versionraised.Test Evidence (if applicable)
Screenshots or Video/GIF:
Now texts and images generated by Google Gemini model can be viewed in the chat:
Test Prompt:
Environment Verification
Local Deployment Environment
Local Deployment Dify Version: v1.3.0+dev (a development version, see langgenius/dify#17372).
SaaS Environment
Wait for the release of langgenius/dify#17372.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.