[PR #6109] [MERGED] fix modelfile message quotes #12019

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/6109
Author: @mxyng
Created: 7/31/2024
Status: Merged
Merged: 8/1/2024
Merged by: @mxyng

Base: mainHead: mxyng/fix-modelfile


📝 Commits (1)

  • d87b4a4 fix modelfile message quotes

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 server/images.go (+1 -1)

📄 Description

message commands should quote the content but it's not correctly formatted so it outputs content verbatim. fix the formatting will fix quoting

https://github.com/ollama/ollama/blob/main/parser/parser.go#L41-L43

resolves #6103


🔄 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/6109 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 7/31/2024 **Status:** ✅ Merged **Merged:** 8/1/2024 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/fix-modelfile` --- ### 📝 Commits (1) - [`d87b4a4`](https://github.com/ollama/ollama/commit/d87b4a488eaf6e52bc0ba170a803cbf4d63921cd) fix modelfile message quotes ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `server/images.go` (+1 -1) </details> ### 📄 Description message commands should quote the content but it's not correctly formatted so it outputs content verbatim. fix the formatting will fix quoting https://github.com/ollama/ollama/blob/main/parser/parser.go#L41-L43 resolves #6103 --- <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:46:20 -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#12019