mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-23 18:41:28 -05:00
[PR #5277] [MERGED] fix: incorrect casting of top_p and frequency_penalty #44708
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/open-webui/open-webui/pull/5277
Author: @msurma
Created: 9/8/2024
Status: ✅ Merged
Merged: 9/9/2024
Merged by: @tjbck
Base:
dev← Head:dev📝 Commits (1)
8e6ea49fix: incorrect casting of top_p and frequency_penalty📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝
backend/open_webui/utils/payload.py(+2 -2)📄 Description
Pull Request Checklist
devbranch.Changelog Entry
Fixed
top_pandfrequency_penaltyparameters were incorrectly sent as0to the OpenAI API.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.