mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #10521] [MERGED] **fix** Added support for stop parameter in OpenAI to Ollama conversion #22553
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/10521
Author: @Seniorsimo
Created: 2/21/2025
Status: ✅ Merged
Merged: 2/21/2025
Merged by: @tjbck
Base:
dev← Head:add-stop-parameter📝 Commits (1)
fb3886cAdded support for stop parameter📊 Changes
1 file changed (+6 additions, -0 deletions)
View changed files
📝
backend/open_webui/utils/payload.py(+6 -0)📄 Description
Pull Request Checklist
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Added
stopparameterAdditional Information
All the changes are tested and validated using this notebook file.
https://gist.github.com/Seniorsimo/214e39d7da6a72bff98f265a39c2fa14
Tested the varius intagration using:
OpenAI vs Open WebUI (gpt-3.5-turbo)
Ollama vs Open WebUI (qwen2.5:14b)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.