mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-22 01:55:27 -04:00
[PR #807] gemini: adapted to OpenAI's json schema #1563
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/807
Author: @badbye
Created: 4/28/2025
Status: 🔄 Open
Base:
main← Head:main📝 Commits (1)
02c0fa7gitlab tool: read content file path(not folder path)📊 Changes
2 files changed (+53 additions, -22 deletions)
View changed files
📝
tools/gitlab/manifest.yaml(+1 -1)📝
tools/gitlab/tools/gitlab_files.py(+52 -21)📄 Description
When using the structure output feature, the input structures of Gemini and OpenAI are significantly different.
This PR makes Gemini adapt to the input of OpenAI's json schema without affecting its original usage method.
This PR contains Changes to LLM Models Plugin
Version Control (Any Changes to the Plugin Will Require Bumping the Version)
VersionField, Not in Meta Section)Dify Plugin SDK Version
dify_plugin>=0.1.0,<0.2.0in requirements.txt (SDK docs)Environment Verification (If Any Code Changes)
Local Deployment Environment
SaaS Environment
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.