mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-31 10:36:16 -05:00
[PR #2943] [MERGED] fix: model settings temperature not passed correctly from model settings to ollama/openai api #108448
Reference in New Issue
Block a user
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/2943
Author: @choltha
Created: 6/9/2024
Status: ✅ Merged
Merged: 6/9/2024
Merged by: @tjbck
Base:
dev← Head:fix/temperature-params📝 Commits (1)
97b3911fix: temperature not passed correctly📊 Changes
2 files changed (+3 additions, -3 deletions)
View changed files
📝
backend/apps/ollama/main.py(+1 -1)📝
backend/apps/openai/main.py(+2 -2)📄 Description
Pull Request Checklist
Description
Simple fix for passing the temperature:
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.[ ] Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?[ ] Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?Changelog Entry
Fixed
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.