mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #1534] [MERGED] feat: small change to support ollama pull QOL #20698
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/1534
Author: @ghost
Created: 4/13/2024
Status: ✅ Merged
Merged: 4/13/2024
Merged by: @tjbck
Base:
dev← Head:ollama-pull-qol📝 Commits (1)
922628cfeat: small change to support ollama pull QOL📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
src/lib/components/chat/Settings/Models.svelte(+1 -1)📄 Description
Pull Request Checklist
Description
Small quality of life change to use regex replace during trim "sanitize" to support
ollama runorollama pullsyntax. More often that not I find myself using a variety of models requiring syntax like modelname:version. The Ollama library offers a convenient copy & paste button that populates a string like:ollama run tinydolphin:1.1b-v2.8-fp16. Until a better integration is developed (form autocomplete requiring scrape?), this offers a significant improvement.Changelog Entry
Added
ollama runorollama pullsyntax🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.