mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-22 01:55:27 -04:00
[PR #687] [MERGED] feat(gemini): Update Gemini Models to support image multimodal output #1493
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/687
Author: @QuantumGhost
Created: 4/10/2025
Status: ✅ Merged
Merged: 4/25/2025
Merged by: @crazywoola
Base:
main← Head:feat/gemini-image-support-2📝 Commits (4)
a6babcbtypes(gemini): Improve type hints for Google Gemini plugin35263e2WIP: feat(gemini): Update Gemini Models to support image multimodal output998c669fix(gemini): RestrictImageinresponse_modalitiesto gemini-2.0-flash-exp012d481Merge remote-tracking branch 'upstream/main' into feat/gemini-image-support-2📊 Changes
3 files changed (+305 additions, -91 deletions)
View changed files
📝
models/gemini/README.md(+19 -2)📝
models/gemini/manifest.yaml(+1 -1)📝
models/gemini/models/llm/llm.py(+285 -88)📄 Description
Related Issue or Context
Documentation for Gemini: https://cloud.google.com/vertex-ai/generative-ai/docs/multimodal-response-generation
Type of Change
Version Control (if applicable)
Versionfield, not in Meta section)Test Evidence (if applicable)
Screenshots or Video/GIF:
Now images generated by Google Gemini model can be viewed in the chat:
Environment Verification
Local Deployment Environment
Local Deployment Dify Version: v1.1.3+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.