mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
[PR #2137] [MERGED] feat(openrouter): add Claude Opus 4.5 and Sonnet 4.5 model support with reasoning control #2278
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/2137
Author: @QIN2DIM
Created: 11/26/2025
Status: ✅ Merged
Merged: 11/26/2025
Merged by: @crazywoola
Base:
main← Head:calude-reasoning-control📝 Commits (7)
3d9e132feat(openrouter): add Claude Opus 4.5 and Sonnet 4.5 model support with reasoning control1161cb9feat(models): add Claude Opus 4.5 and Sonnet 4.5 model configurations109e4c1docs(models): update thinking budget help text for claude-sonnet-4-516b02eechore(models): remove .python-version file from openrouter62b31b0chore(models/openrouter): add .difyignore and .python-version files5a6853echore(models): add .venv to .difyignore in openrouter65563bdfeat(llm): support string input for enable_thinking📊 Changes
12 files changed (+329 additions, -160 deletions)
View changed files
➕
models/openrouter/.difyignore(+2 -0)📝
models/openrouter/.env.example(+1 -2)➕
models/openrouter/.gitignore(+1 -0)➕
models/openrouter/.python-version(+1 -0)📝
models/openrouter/main.py(+1 -1)📝
models/openrouter/manifest.yaml(+1 -1)📝
models/openrouter/models/llm/_position.yaml(+1 -0)➕
models/openrouter/models/llm/claude-opus-4-5.yaml(+74 -0)📝
models/openrouter/models/llm/claude-sonnet-4-5.yaml(+36 -95)📝
models/openrouter/models/llm/llm.py(+88 -60)➕
models/openrouter/pyproject.toml(+18 -0)📝
models/openrouter/requirements.txt(+105 -1)📄 Description
Related Issues or Context
Summary
This PR contains Changes to Non-Plugin
This PR contains Changes to Non-LLM Models Plugin
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.6.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.