[PR #5440] [MERGED] update named templates #11779

Closed
opened 2026-04-12 23:38:45 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/5440
Author: @mxyng
Created: 7/2/2024
Status: Merged
Merged: 7/9/2024
Merged by: @mxyng

Base: mainHead: mxyng/messages-templates


📝 Commits (1)

📊 Changes

75 files changed (+611 additions, -27 deletions)

View changed files

📝 go.mod (+2 -1)
📝 server/routes_create_test.go (+2 -2)
📝 template/alfred.gotmpl (+8 -1)
📝 template/alpaca.gotmpl (+13 -1)
📝 template/chatml.gotmpl (+10 -1)
📝 template/chatqa.gotmpl (+13 -1)
📝 template/codellama-70b-instruct.gotmpl (+12 -1)
📝 template/falcon-instruct.gotmpl (+11 -1)
📝 template/gemma-instruct.gotmpl (+13 -1)
📝 template/granite-instruct.gotmpl (+15 -1)
📝 template/llama2-chat.gotmpl (+14 -1)
📝 template/llama3-instruct.gotmpl (+13 -1)
📝 template/magicoder.gotmpl (+14 -1)
📝 template/mistral-instruct.gotmpl (+9 -6)
📝 template/openchat.gotmpl (+11 -1)
📝 template/phi-3.gotmpl (+10 -1)
📝 template/solar-instruct.gotmpl (+15 -1)
📝 template/starcoder2-instruct.gotmpl (+15 -0)
📝 template/template_test.go (+67 -2)
template/testdata/alfred.gotmpl/system-user-assistant-user (+1 -0)

...and 55 more files

📄 Description

update named templates with messages falling back to previous template if messages isn't available for compat


🔄 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/5440 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 7/2/2024 **Status:** ✅ Merged **Merged:** 7/9/2024 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/messages-templates` --- ### 📝 Commits (1) - [`fb6cbc0`](https://github.com/ollama/ollama/commit/fb6cbc02fbe0ff8d791413a81558a1fe9725b778) update named templates ### 📊 Changes **75 files changed** (+611 additions, -27 deletions) <details> <summary>View changed files</summary> 📝 `go.mod` (+2 -1) 📝 `server/routes_create_test.go` (+2 -2) 📝 `template/alfred.gotmpl` (+8 -1) 📝 `template/alpaca.gotmpl` (+13 -1) 📝 `template/chatml.gotmpl` (+10 -1) 📝 `template/chatqa.gotmpl` (+13 -1) 📝 `template/codellama-70b-instruct.gotmpl` (+12 -1) 📝 `template/falcon-instruct.gotmpl` (+11 -1) 📝 `template/gemma-instruct.gotmpl` (+13 -1) 📝 `template/granite-instruct.gotmpl` (+15 -1) 📝 `template/llama2-chat.gotmpl` (+14 -1) 📝 `template/llama3-instruct.gotmpl` (+13 -1) 📝 `template/magicoder.gotmpl` (+14 -1) 📝 `template/mistral-instruct.gotmpl` (+9 -6) 📝 `template/openchat.gotmpl` (+11 -1) 📝 `template/phi-3.gotmpl` (+10 -1) 📝 `template/solar-instruct.gotmpl` (+15 -1) 📝 `template/starcoder2-instruct.gotmpl` (+15 -0) 📝 `template/template_test.go` (+67 -2) ➕ `template/testdata/alfred.gotmpl/system-user-assistant-user` (+1 -0) _...and 55 more files_ </details> ### 📄 Description update named templates with messages falling back to previous template if messages isn't available for compat --- <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-12 23:38:45 -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#11779