mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
The ranges of values for presence_penalty and frequency_penalty in the OpenAI models plugin do not match those in the official OpenAI API. #183
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?
Originally created by @natsu12 on GitHub (Apr 9, 2025).
Self Checks
Dify version
1.0.1
Plugin version
OpenAI 0.0.14
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
The
presence_penaltyandfrequency_penaltyin parameter_rules in all yaml files in the openai plugin use the default template:While in the default template in dify-plugin-sdks, the range of the value of
requency_penaltyandpresence_penaltyis 0 to 1:However, the value range of OpenAI official API should be -2 to 2, right?
✔️ Error log
No response
@dosubot[bot] commented on GitHub (Aug 16, 2025):
Hi, @natsu12. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.
Issue Summary:
Next Steps:
Thank you for your understanding and contribution!