mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 02:48:13 -05:00
[PR #10360] [MERGED] fix: Update Ollama option handling in payload.py's convert_payload_openai_to_ollama #38137
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/10360
Author: @ferret99gt
Created: 2/19/2025
Status: ✅ Merged
Merged: 2/20/2025
Merged by: @tjbck
Base:
dev← Head:ollama-option-conversion-fixes📝 Commits (7)
a560f78Remove mapping of presence_penalty to new_topix_penaltye6919c3Remove mapping of frequency_penalty to repeat_penaltyaea8977Remove mapping of max_completion_tokensadde373Remove parameters that map directly, as they are part of optionsfea169aCore fix for num_predict not working.57b01cfFix for system prompt setting8125b04Remove empty ollama_options📊 Changes
1 file changed (+10 additions, -25 deletions)
View changed files
📝
backend/open_webui/utils/payload.py(+10 -25)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Removed
Fixed
Additional Information
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.