mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
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/1569
Author: @BBYNAI
Created: 8/24/2025
Status: ✅ Merged
Merged: 8/24/2025
Merged by: @crazywoola
Base:
main← Head:fix-Structured-output-error-using-openai_api_compatible-#1568📝 Commits (2)
88b8483chore: bump openai_api_compatible0c5fa20fix: remove json_object📊 Changes
2 files changed (+2 additions, -6 deletions)
View changed files
📝
models/openai_api_compatible/manifest.yaml(+1 -1)📝
models/openai_api_compatible/models/llm/llm.py(+1 -5)📄 Description
Related Issues or Context
This PR fixes structured output for the OpenAI-API-Compatible plugin as outlined in issue 1568. The bug is changing the response format from json_schema to json_object while also passing the json_schema. This causes an error when used with OpenAI and LiteLLM. The fix simply removes the change from json_schema to json_object.
This PR contains Changes to Non-Plugin
This PR contains Changes to Non-LLM Models Plugin
Before change:

After change:

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.3.0,<0.5.0is in 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.