Description: Briefly describe the changes in this pull request.
Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
Description
Small quality of life change to use regex replace during trim "sanitize" to support ollama run or ollama pull syntax. 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
Support ollama run or ollama pull syntax
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/open-webui/open-webui/pull/1534
**Author:** [@ghost](https://github.com/ghost)
**Created:** 4/13/2024
**Status:** ✅ Merged
**Merged:** 4/13/2024
**Merged by:** [@tjbck](https://github.com/tjbck)
**Base:** `dev` ← **Head:** `ollama-pull-qol`
---
### 📝 Commits (1)
- [`922628c`](https://github.com/open-webui/open-webui/commit/922628c1ee21cb1ae601aa1eca43bdbc3be156d6) feat: small change to support ollama pull QOL
### 📊 Changes
**1 file changed** (+1 additions, -1 deletions)
<details>
<summary>View changed files</summary>
📝 `src/lib/components/chat/Settings/Models.svelte` (+1 -1)
</details>
### 📄 Description
## Pull Request Checklist
- [x] **Description:** Briefly describe the changes in this pull request.
- [x] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description.
---
## Description
Small quality of life change to use regex replace during trim "sanitize" to support `ollama run ` or `ollama pull ` syntax. 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
- Support `ollama run ` or `ollama pull ` syntax
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 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.