mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
[PR #1445] [CLOSED] Fix(openai): gpt 5 chat latest might have incorrect context window #1896
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/1445
Author: @fdb02983rhy
Created: 8/7/2025
Status: ❌ Closed
Base:
main← Head:chore/add-gpt-5-series-followup📝 Commits (10+)
63c98dbAdd Claude Opus 4.1 model supportd9618feRevert "Add Claude Opus 4.1 model support"a87dd3eMerge branch 'langgenius:main' into main6b569c7chore: add gpt-5 seriesdbb5d67chore: update manifest and requirements for GPT-5 series595ec0aAdd GPT-5 series model configurations123fb94Add GPT-5 series models to position configuratione650a7bMerge branch 'langgenius:main' into main42b0e04Merge remote-tracking branch 'origin/main' into chore/add-gpt-5-seriesd8f8915OpenAI: GPT-5 series YAML cleanup: remove top_p/presence_penalty/frequency_penalty (except gpt-5-chat-latest); runtime: treat o* and gpt-5* as thinking-series, map max_tokens to max_completion_tokens📊 Changes
11 files changed (+336 additions, -84 deletions)
View changed files
📝
models/openai/manifest.yaml(+1 -1)📝
models/openai/models/llm/_position.yaml(+22 -19)➕
models/openai/models/llm/gpt-5-2025-08-07.yaml(+68 -0)📝
models/openai/models/llm/gpt-5-chat-latest.yaml(+6 -21)➕
models/openai/models/llm/gpt-5-mini-2025-08-07.yaml(+68 -0)📝
models/openai/models/llm/gpt-5-mini.yaml(+33 -13)➕
models/openai/models/llm/gpt-5-nano-2025-08-07.yaml(+68 -0)📝
models/openai/models/llm/gpt-5-nano.yaml(+33 -13)📝
models/openai/models/llm/gpt-5.yaml(+33 -13)📝
models/openai/models/llm/llm.py(+3 -3)📝
models/openai/requirements.txt(+1 -1)📄 Description
Related Issues or Context
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.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.