[PR #93] [MERGED] separate prompt into template and system #35853

Closed
opened 2026-04-22 20:36:07 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/93
Author: @mxyng
Created: 7/17/2023
Status: Merged
Merged: 7/20/2023
Merged by: @mxyng

Base: mainHead: split-prompt


📝 Commits (9)

📊 Changes

4 files changed (+161 additions, -127 deletions)

View changed files

📝 docs/modelfile.md (+35 -43)
📝 parser/parser.go (+58 -43)
📝 server/images.go (+66 -31)
📝 server/routes.go (+2 -10)

📄 Description

this also updates the scanner with a multiline split function


🔄 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/ollama/ollama/pull/93 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 7/17/2023 **Status:** ✅ Merged **Merged:** 7/20/2023 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `split-prompt` --- ### 📝 Commits (9) - [`df146c4`](https://github.com/ollama/ollama/commit/df146c41e27e6e15c0ab51af9070c87c82aa4fc7) separate prompt into template and system - [`ca210ba`](https://github.com/ollama/ollama/commit/ca210ba48059c8d7f274fe5b7c77e603b371fdf2) handle vnd.ollama.image.prompt for compat - [`1c72e46`](https://github.com/ollama/ollama/commit/1c72e46e09328d0836a7487c2d6c9ab7a6bdcf41) update modelfile.md - [`5c5948b`](https://github.com/ollama/ollama/commit/5c5948b4e72fccbc68ad7f9b40bbaabb35fb9090) clean up my previous empty sentences - [`df100ce`](https://github.com/ollama/ollama/commit/df100ce5409fa52a113b1bfbb69f933021d8dd02) Update docs/modelfile.md - [`c47786c`](https://github.com/ollama/ollama/commit/c47786c1b0138fd3e58323876030c5b1a7378789) Update docs/modelfile.md - [`c161aef`](https://github.com/ollama/ollama/commit/c161aef5f970bc759c6241ec3d34e85324416190) update example - [`7c6ea2a`](https://github.com/ollama/ollama/commit/7c6ea2a966bd7702922c81b05c7ea05bbcee67ba) fix dangling """ - [`60b4db6`](https://github.com/ollama/ollama/commit/60b4db63890d84e1f6711e037455f76b2228fc54) add .First ### 📊 Changes **4 files changed** (+161 additions, -127 deletions) <details> <summary>View changed files</summary> 📝 `docs/modelfile.md` (+35 -43) 📝 `parser/parser.go` (+58 -43) 📝 `server/images.go` (+66 -31) 📝 `server/routes.go` (+2 -10) </details> ### 📄 Description this also updates the scanner with a multiline split function --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-22 20:36:07 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#35853