mirror of
https://github.com/langgenius/dify-plugin-sdks.git
synced 2026-07-22 02:15:22 -04:00
[PR #43] [CLOSED] Fix: replace param max_tokens to max_completetion_tokens
#102
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-plugin-sdks/pull/43
Author: @chekun
Created: 3/14/2025
Status: ❌ Closed
Base:
main← Head:patch-1📝 Commits (1)
d785b2freplace parammax_tokenstomax_completetion_tokens📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
python/dify_plugin/interfaces/model/openai_compatible/llm.py(+1 -1)📄 Description
max_tokensis deprecatedSee https://platform.openai.com/docs/api-reference/chat/create#chat-create-max_tokens
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.