[PR #83] [CLOSED] feat: Adapt to the Gemini 2.5 model #130

Closed
opened 2026-02-15 21:15:54 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-sdks/pull/83
Author: @zyoung1212
Created: 4/9/2025
Status: Closed

Base: mainHead: feat-gemini-2.5-compatibility


📝 Commits (1)

  • 1d66e04 feat: Adapt to the Gemini 2.5 model

📊 Changes

1 file changed (+5 additions, -1 deletions)

View changed files

📝 python/dify_plugin/interfaces/model/openai_compatible/llm.py (+5 -1)

📄 Description

Since the max_tokens parameter of Gemini 2.5 has been changed to maxtokens, adaptation is required.


🔄 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-plugin-sdks/pull/83 **Author:** [@zyoung1212](https://github.com/zyoung1212) **Created:** 4/9/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat-gemini-2.5-compatibility` --- ### 📝 Commits (1) - [`1d66e04`](https://github.com/langgenius/dify-plugin-sdks/commit/1d66e04a2feffde31152c9bf0616e1a9d778156b) feat: Adapt to the Gemini 2.5 model ### 📊 Changes **1 file changed** (+5 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `python/dify_plugin/interfaces/model/openai_compatible/llm.py` (+5 -1) </details> ### 📄 Description Since the max_tokens parameter of Gemini 2.5 has been changed to maxtokens, adaptation is required. --- <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-15 21:15:54 -05:00
yindo closed this issue 2026-02-15 21:15:54 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugin-sdks#130