[PR #192] [MERGED] feat(gemini): add Gemini 2.0 models #1167

Closed
opened 2026-02-16 10:22:10 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-official-plugins/pull/192
Author: @takatea
Created: 2/8/2025
Status: Merged
Merged: 2/10/2025
Merged by: @Yeuoly

Base: mainHead: add-gemini-2_0-models-in-gemini-provider


📝 Commits (2)

  • 14ce7a0 feat(gemini): add Gemini 2.0 model variants to provider
  • 4fe6460 chore(gemini): update the dependcy version

📊 Changes

9 files changed (+251 additions, -2 deletions)

View changed files

📝 models/gemini/manifest.yaml (+1 -1)
📝 models/gemini/models/llm/_position.yaml (+6 -0)
models/gemini/models/llm/gemini-2.0-flash-001.yaml (+41 -0)
models/gemini/models/llm/gemini-2.0-flash-exp.yaml (+41 -0)
models/gemini/models/llm/gemini-2.0-flash-lite-preview-02-05.yaml (+42 -0)
models/gemini/models/llm/gemini-2.0-flash-thinking-exp-01-21.yaml (+39 -0)
models/gemini/models/llm/gemini-2.0-flash-thinking-exp-1219.yaml (+39 -0)
models/gemini/models/llm/gemini-2.0-pro-exp-02-05.yaml (+41 -0)
📝 models/gemini/requirements.txt (+1 -1)

📄 Description

Summary

This PR adds support for new Gemini 2.0 model variants including Flash, Pro, and experimental versions.

Added Models

  • gemini-2.0-flash-001
  • gemini-2.0-flash-exp
  • gemini-2.0-flash-lite-preview-02-05
  • gemini-2.0-pro-exp-02-05
  • gemini-2.0-flash-thinking-exp-1219
  • gemini-2.0-flash-thinking-exp-01-21

Screenshots

Model name Screenshots
gemini-2.0-flash-001 flash-001
gemini-2.0-flash-exp image
gemini-2.0-flash-lite-preview-02-05 image
gemini-2.0-pro-exp-02-05 image
gemini-2.0-flash-thinking-exp-1219 image
gemini-2.0-flash-thinking-exp-01-21 image

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify-official-plugins/pull/192 **Author:** [@takatea](https://github.com/takatea) **Created:** 2/8/2025 **Status:** ✅ Merged **Merged:** 2/10/2025 **Merged by:** [@Yeuoly](https://github.com/Yeuoly) **Base:** `main` ← **Head:** `add-gemini-2_0-models-in-gemini-provider` --- ### 📝 Commits (2) - [`14ce7a0`](https://github.com/langgenius/dify-official-plugins/commit/14ce7a070966c299ef7b8f24c2073ee38d3cf4ee) feat(gemini): add Gemini 2.0 model variants to provider - [`4fe6460`](https://github.com/langgenius/dify-official-plugins/commit/4fe6460b1f2d049fe5fb9eb1bdab6f009ddfba5c) chore(gemini): update the dependcy version ### 📊 Changes **9 files changed** (+251 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `models/gemini/manifest.yaml` (+1 -1) 📝 `models/gemini/models/llm/_position.yaml` (+6 -0) ➕ `models/gemini/models/llm/gemini-2.0-flash-001.yaml` (+41 -0) ➕ `models/gemini/models/llm/gemini-2.0-flash-exp.yaml` (+41 -0) ➕ `models/gemini/models/llm/gemini-2.0-flash-lite-preview-02-05.yaml` (+42 -0) ➕ `models/gemini/models/llm/gemini-2.0-flash-thinking-exp-01-21.yaml` (+39 -0) ➕ `models/gemini/models/llm/gemini-2.0-flash-thinking-exp-1219.yaml` (+39 -0) ➕ `models/gemini/models/llm/gemini-2.0-pro-exp-02-05.yaml` (+41 -0) 📝 `models/gemini/requirements.txt` (+1 -1) </details> ### 📄 Description ## Summary This PR adds support for new Gemini 2.0 model variants including Flash, Pro, and experimental versions. ### Added Models - gemini-2.0-flash-001 - gemini-2.0-flash-exp - gemini-2.0-flash-lite-preview-02-05 - gemini-2.0-pro-exp-02-05 - gemini-2.0-flash-thinking-exp-1219 - gemini-2.0-flash-thinking-exp-01-21 ## Screenshots | Model name | Screenshots | |--------|--------| | gemini-2.0-flash-001 | <img width="300" alt="flash-001" src="https://github.com/user-attachments/assets/e8a6aad3-506b-4b90-bfce-ba89085584f7" /> | | gemini-2.0-flash-exp | <img width="300" alt="image" src="https://github.com/user-attachments/assets/2d6b010f-0e0a-4edb-a36c-fbd1bc7a2bd5" /> | | gemini-2.0-flash-lite-preview-02-05 | <img width="300" alt="image" src="https://github.com/user-attachments/assets/afe39789-afa3-4e14-94c6-821b9bcec60f" /> | | gemini-2.0-pro-exp-02-05 | <img width="300" alt="image" src="https://github.com/user-attachments/assets/436dac54-e1e7-4b3a-8dcf-399896bbadd5" /> | | gemini-2.0-flash-thinking-exp-1219 | <img width="300" alt="image" src="https://github.com/user-attachments/assets/20b72878-0479-4ce3-a2c6-227f0046c0c5" /> | | gemini-2.0-flash-thinking-exp-01-21| <img width="300" alt="image" src="https://github.com/user-attachments/assets/88847225-bcbd-4577-b74e-01aef16094fe" /> | --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 10:22:10 -05:00
yindo closed this issue 2026-02-16 10:22:10 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#1167