mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-22 01:55:27 -04:00
[PR #2416] [MERGED] feat(openai_api_compatible): Add Strict compatibility mode option
#2460
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/2416
Author: @utsumi-fj
Created: 1/14/2026
Status: ✅ Merged
Merged: 1/14/2026
Merged by: @crazywoola
Base:
main← Head:openai_api_compatible_non_standard_params📝 Commits (1)
fbea364feat(openai_api_compatible): AddStrict compatibility modeoption📊 Changes
2 files changed (+40 additions, -5 deletions)
View changed files
📝
models/openai_api_compatible/manifest.yaml(+1 -1)📝
models/openai_api_compatible/models/llm/llm.py(+39 -4)📄 Description
Strict compatibility modeoption to the LLM node.thinkingandchat_template_kwargs.Related Issues or Context
Fixes #2263,
Fix #2366
When
Strict compatibility modeis set to True on the LLM node, the plugin does not add non-standard request extensions (e.g.,thinking,chat_template_kwargs), which avoids the errors reported in these issues.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.7.1is in requirements.txt (SDK docs)Environment Verification (If Any Code Changes)
Local Deployment Environment
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.