[PR #212] [MERGED] fix multiline string #15315

Closed
opened 2026-04-16 04:55:31 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/212
Author: @mxyng
Created: 7/25/2023
Status: Merged
Merged: 7/25/2023
Merged by: @mxyng

Base: mainHead: fix-multiline-parsing


📝 Commits (1)

📊 Changes

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

View changed files

📝 parser/parser.go (+7 -4)

📄 Description

the data needs to remove the multiline quotes but include the command:

e.g.

TEMPLATE """
my template values
"""

should be

TEMPLATE
my template values

after scanning


🔄 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/212 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 7/25/2023 **Status:** ✅ Merged **Merged:** 7/25/2023 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `fix-multiline-parsing` --- ### 📝 Commits (1) - [`24c2c77`](https://github.com/ollama/ollama/commit/24c2c7705785d640454aecbf556cc2a557f30135) fix multiline string ### 📊 Changes **1 file changed** (+7 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `parser/parser.go` (+7 -4) </details> ### 📄 Description the data needs to remove the multiline quotes but include the command: e.g. ``` TEMPLATE """ my template values """ ``` should be ``` TEMPLATE my template values ``` after scanning --- <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-16 04:55:31 -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#15315