mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 19:38:46 -05:00
[PR #322] [MERGED] Add num_predict slider, fix settings not being sent to OpenAI endpoint & added more settings being sent #7052
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/322
Author: @davidsyoung
Created: 12/29/2023
Status: ✅ Merged
Merged: 12/31/2023
Merged by: @tjbck
Base:
main← Head:fix-openai-settings📝 Commits (5)
431b710Settings were being referenced incorrectly and as a result, no settings were being sent to openai endpoint. Added num_predict slider in advanced UI. Also added seed, stop and max_tokens (uses num_predict) being sent to openai endpoint.b919ac7Merge branch 'main' into fix-openai-settings7753851Merge branch 'main' into fix-openai-settings0d6440ffix: num_predict default value should match ollama default1444001fix: new params do not require legacy fallback📊 Changes
5 files changed (+68 additions, -12 deletions)
View changed files
📝
src/lib/components/chat/Settings/Advanced.svelte(+47 -1)📝
src/lib/components/chat/SettingsModal.svelte(+4 -2)📝
src/routes/(app)/+page.svelte(+7 -4)📝
src/routes/(app)/c/[id]/+page.svelte(+7 -4)📝
src/routes/(app)/modelfiles/create/+page.svelte(+3 -1)📄 Description
Hey! This is my first pull request, go easy on me!
Changes:
Thank you once again!
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.