mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
[PR #727] [CLOSED] fix: model token handling for openai gpt4.1 series #1519
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/727
Author: @fdb02983rhy
Created: 4/15/2025
Status: ❌ Closed
Base:
main← Head:fix-gpt4.1-token-counting-issue📝 Commits (3)
abbe9affix: model token handling in OpenAILargeLanguageModelb20eb06bump verafa411fUpdate llm.py📊 Changes
2 files changed (+3 additions, -3 deletions)
View changed files
📝
models/openai/manifest.yaml(+1 -1)📝
models/openai/models/llm/llm.py(+2 -2)📄 Description
Related Issues or Context
Issues
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
Before



After
Version Control (Any Changes to the Plugin Will Require Bumping the Version)
VersionField, Not in Meta Section)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.