mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 02:48:13 -05:00
[PR #10363] [MERGED] feat: Update Payload's apply_model_params_to_body_ollama with full Ollama supported options #38139
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/10363
Author: @ferret99gt
Created: 2/19/2025
Status: ✅ Merged
Merged: 2/19/2025
Merged by: @tjbck
Base:
dev← Head:ollama-model-option-conversion-updates📝 Commits (6)
cee08e3Update Ollama request option list with full supported options6b2ba73Remove tfs_z877d21aMove parameter remapping above the opt dictionary.a4249a6Remove remapping of frequency_penalty to repeat_penaltyfa885c3Update remapping logic5701d6dChange the opt dictionary to a mappings dictionary with appropriate casts📊 Changes
1 file changed (+36 additions, -25 deletions)
View changed files
📝
backend/open_webui/utils/payload.py(+36 -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
Added
Changed
Removed
Additional Information
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.