[PR #6534] [MERGED] update templates to use messages #74435

Closed
opened 2026-05-05 06:30:59 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/6534
Author: @mxyng
Created: 8/27/2024
Status: Merged
Merged: 8/30/2024
Merged by: @mxyng

Base: mainHead: mxyng/messages


📝 Commits (1)

  • 413ae39 update templates to use messages

📊 Changes

19 files changed (+144 additions, -83 deletions)

View changed files

📝 server/routes_create_test.go (+2 -2)
📝 template/alfred.gotmpl (+2 -1)
📝 template/alpaca.gotmpl (+15 -5)
📝 template/chatml.gotmpl (+2 -5)
📝 template/chatqa.gotmpl (+6 -5)
📝 template/codellama-70b-instruct.gotmpl (+7 -7)
📝 template/falcon-instruct.gotmpl (+7 -4)
📝 template/gemma-instruct.gotmpl (+16 -5)
📝 template/granite-instruct.gotmpl (+6 -7)
📝 template/llama2-chat.gotmpl (+13 -5)
📝 template/llama3-instruct.gotmpl (+3 -5)
📝 template/magicoder.gotmpl (+14 -5)
📝 template/mistral-instruct.gotmpl (+5 -2)
📝 template/openchat.gotmpl (+6 -1)
📝 template/phi-3.gotmpl (+2 -5)
📝 template/solar-instruct.gotmpl (+8 -6)
📝 template/starcoder2-instruct.gotmpl (+15 -5)
📝 template/vicuna.gotmpl (+13 -3)
📝 template/zephyr.gotmpl (+2 -5)

📄 Description

messages support has been out in the wild for over a month at this point. it's time to update the built-in templates to use the messages format instead of the previous prompt/response format


🔄 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/6534 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 8/27/2024 **Status:** ✅ Merged **Merged:** 8/30/2024 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/messages` --- ### 📝 Commits (1) - [`413ae39`](https://github.com/ollama/ollama/commit/413ae39f3c947a65f9c940edc0319218135ba767) update templates to use messages ### 📊 Changes **19 files changed** (+144 additions, -83 deletions) <details> <summary>View changed files</summary> 📝 `server/routes_create_test.go` (+2 -2) 📝 `template/alfred.gotmpl` (+2 -1) 📝 `template/alpaca.gotmpl` (+15 -5) 📝 `template/chatml.gotmpl` (+2 -5) 📝 `template/chatqa.gotmpl` (+6 -5) 📝 `template/codellama-70b-instruct.gotmpl` (+7 -7) 📝 `template/falcon-instruct.gotmpl` (+7 -4) 📝 `template/gemma-instruct.gotmpl` (+16 -5) 📝 `template/granite-instruct.gotmpl` (+6 -7) 📝 `template/llama2-chat.gotmpl` (+13 -5) 📝 `template/llama3-instruct.gotmpl` (+3 -5) 📝 `template/magicoder.gotmpl` (+14 -5) 📝 `template/mistral-instruct.gotmpl` (+5 -2) 📝 `template/openchat.gotmpl` (+6 -1) 📝 `template/phi-3.gotmpl` (+2 -5) 📝 `template/solar-instruct.gotmpl` (+8 -6) 📝 `template/starcoder2-instruct.gotmpl` (+15 -5) 📝 `template/vicuna.gotmpl` (+13 -3) 📝 `template/zephyr.gotmpl` (+2 -5) </details> ### 📄 Description messages support has been out in the wild for over a month at this point. it's time to update the built-in templates to use the messages format instead of the previous prompt/response format --- <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-05-05 06:30:59 -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#74435