[PR #241] [MERGED] migrate all gemini models from 0.15.3 #1211

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

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-official-plugins/pull/241
Author: @hjlarry
Created: 2/20/2025
Status: Merged
Merged: 2/27/2025
Merged by: @crazywoola

Base: mainHead: p3


📝 Commits (4)

  • 73d31c6 migrate all gemini models from 0.15.3
  • 7740cb1 revert the cache file
  • d238283 fix gemini validate 404
  • 7e94ddc Merge branch 'main' into p3

📊 Changes

24 files changed (+212 additions, -77 deletions)

View changed files

📝 models/gemini/models/llm/_position.yaml (+4 -5)
📝 models/gemini/models/llm/gemini-1.5-flash-001.yaml (+2 -0)
📝 models/gemini/models/llm/gemini-1.5-flash-002.yaml (+2 -0)
📝 models/gemini/models/llm/gemini-1.5-flash-8b-exp-0827.yaml (+2 -0)
📝 models/gemini/models/llm/gemini-1.5-flash-8b-exp-0924.yaml (+2 -0)
📝 models/gemini/models/llm/gemini-1.5-flash-exp-0827.yaml (+2 -0)
📝 models/gemini/models/llm/gemini-1.5-flash-latest.yaml (+2 -0)
📝 models/gemini/models/llm/gemini-1.5-flash.yaml (+2 -0)
📝 models/gemini/models/llm/gemini-1.5-pro-001.yaml (+2 -0)
📝 models/gemini/models/llm/gemini-1.5-pro-002.yaml (+2 -0)
📝 models/gemini/models/llm/gemini-1.5-pro-exp-0801.yaml (+2 -0)
📝 models/gemini/models/llm/gemini-1.5-pro-exp-0827.yaml (+2 -0)
📝 models/gemini/models/llm/gemini-1.5-pro-latest.yaml (+2 -0)
📝 models/gemini/models/llm/gemini-1.5-pro.yaml (+2 -0)
📝 models/gemini/models/llm/gemini-2.0-flash-lite-preview-0205.yaml (+1 -1)
📝 models/gemini/models/llm/gemini-2.0-flash-thinking-exp-0121.yaml (+1 -1)
📝 models/gemini/models/llm/gemini-2.0-pro-exp-0205.yaml (+1 -1)
📝 models/gemini/models/llm/gemini-exp-1114.yaml (+2 -0)
📝 models/gemini/models/llm/gemini-exp-1121.yaml (+3 -0)
models/gemini/models/llm/gemini-exp-1206.yaml (+41 -0)

...and 4 more files

📄 Description

migrate these PRs to align the current version with 0.15.3.

fix: use Gemini response metadata for token counting by totsukash · Pull Request #11226 · langgenius/dify
feat: add gemini exp 1206 by hjlarry · Pull Request #11444 · langgenius/dify
feat: enhance gemini models by hjlarry · Pull Request #11497 · langgenius/dify
feat: add gemini-2.0-flash-exp by hjlarry · Pull Request #11570 · langgenius/dify
feat: use Gemini response metadata for token counting by totsukash · Pull Request #11743 · langgenius/dify
chore: improve gemini models by hjlarry · Pull Request #11745 · langgenius/dify
fix: gemini system prompt with variable raise error by hjlarry · Pull Request #11946 · langgenius/dify
feat: add gemini-2.0-flash-thinking-exp-01-21 by jiandanfeng · Pull Request #12924 · langgenius/dify
feat: added models :gemini 2.0 flash 001 and gemini 2.0 pro exp 02-05 by Riddhimaan-Senapati · Pull Request #13247 · langgenius/dify

changes:
this PR https://github.com/langgenius/dify/pull/11497 uses Redis to store the hash values of uploaded files, aiming to reduce the request context. However, since Redis is no longer available, switch to using a local file cache instead.

fix https://github.com/langgenius/dify/issues/14352

test:

  • general conversation
  • image and document conversation
  • tool use conversation

🔄 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/241 **Author:** [@hjlarry](https://github.com/hjlarry) **Created:** 2/20/2025 **Status:** ✅ Merged **Merged:** 2/27/2025 **Merged by:** [@crazywoola](https://github.com/crazywoola) **Base:** `main` ← **Head:** `p3` --- ### 📝 Commits (4) - [`73d31c6`](https://github.com/langgenius/dify-official-plugins/commit/73d31c6cb1f9f6ce36efb2c7daddadcbb057bf53) migrate all gemini models from 0.15.3 - [`7740cb1`](https://github.com/langgenius/dify-official-plugins/commit/7740cb1b44de2871349813faa5d378dd3c021e6d) revert the cache file - [`d238283`](https://github.com/langgenius/dify-official-plugins/commit/d23828377036fbadb729b688525098db882518ae) fix gemini validate 404 - [`7e94ddc`](https://github.com/langgenius/dify-official-plugins/commit/7e94ddc24098becfdb989385429181b437564619) Merge branch 'main' into p3 ### 📊 Changes **24 files changed** (+212 additions, -77 deletions) <details> <summary>View changed files</summary> 📝 `models/gemini/models/llm/_position.yaml` (+4 -5) 📝 `models/gemini/models/llm/gemini-1.5-flash-001.yaml` (+2 -0) 📝 `models/gemini/models/llm/gemini-1.5-flash-002.yaml` (+2 -0) 📝 `models/gemini/models/llm/gemini-1.5-flash-8b-exp-0827.yaml` (+2 -0) 📝 `models/gemini/models/llm/gemini-1.5-flash-8b-exp-0924.yaml` (+2 -0) 📝 `models/gemini/models/llm/gemini-1.5-flash-exp-0827.yaml` (+2 -0) 📝 `models/gemini/models/llm/gemini-1.5-flash-latest.yaml` (+2 -0) 📝 `models/gemini/models/llm/gemini-1.5-flash.yaml` (+2 -0) 📝 `models/gemini/models/llm/gemini-1.5-pro-001.yaml` (+2 -0) 📝 `models/gemini/models/llm/gemini-1.5-pro-002.yaml` (+2 -0) 📝 `models/gemini/models/llm/gemini-1.5-pro-exp-0801.yaml` (+2 -0) 📝 `models/gemini/models/llm/gemini-1.5-pro-exp-0827.yaml` (+2 -0) 📝 `models/gemini/models/llm/gemini-1.5-pro-latest.yaml` (+2 -0) 📝 `models/gemini/models/llm/gemini-1.5-pro.yaml` (+2 -0) 📝 `models/gemini/models/llm/gemini-2.0-flash-lite-preview-0205.yaml` (+1 -1) 📝 `models/gemini/models/llm/gemini-2.0-flash-thinking-exp-0121.yaml` (+1 -1) 📝 `models/gemini/models/llm/gemini-2.0-pro-exp-0205.yaml` (+1 -1) 📝 `models/gemini/models/llm/gemini-exp-1114.yaml` (+2 -0) 📝 `models/gemini/models/llm/gemini-exp-1121.yaml` (+3 -0) ➕ `models/gemini/models/llm/gemini-exp-1206.yaml` (+41 -0) _...and 4 more files_ </details> ### 📄 Description migrate these PRs to align the current version with 0.15.3. [fix: use Gemini response metadata for token counting by totsukash · Pull Request #11226 · langgenius/dify](https://github.com/langgenius/dify/pull/11226) [feat: add gemini exp 1206 by hjlarry · Pull Request #11444 · langgenius/dify](https://github.com/langgenius/dify/pull/11444) [feat: enhance gemini models by hjlarry · Pull Request #11497 · langgenius/dify](https://github.com/langgenius/dify/pull/11497) [feat: add gemini-2.0-flash-exp by hjlarry · Pull Request #11570 · langgenius/dify](https://github.com/langgenius/dify/pull/11570) [feat: use Gemini response metadata for token counting by totsukash · Pull Request #11743 · langgenius/dify](https://github.com/langgenius/dify/pull/11743) [chore: improve gemini models by hjlarry · Pull Request #11745 · langgenius/dify](https://github.com/langgenius/dify/pull/11745) [fix: gemini system prompt with variable raise error by hjlarry · Pull Request #11946 · langgenius/dify](https://github.com/langgenius/dify/pull/11946) [feat: add gemini-2.0-flash-thinking-exp-01-21 by jiandanfeng · Pull Request #12924 · langgenius/dify](https://github.com/langgenius/dify/pull/12924) [feat: added models :gemini 2.0 flash 001 and gemini 2.0 pro exp 02-05 by Riddhimaan-Senapati · Pull Request #13247 · langgenius/dify](https://github.com/langgenius/dify/pull/13247) changes: this PR https://github.com/langgenius/dify/pull/11497 uses Redis to store the hash values of uploaded files, aiming to reduce the request context. However, since Redis is no longer available, switch to using a local file cache instead. fix https://github.com/langgenius/dify/issues/14352 test: - general conversation - image and document conversation - tool use conversation --- <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:19 -05:00
yindo closed this issue 2026-02-16 10:22:19 -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#1211