[PR #4231] [MERGED] types/model: fix parser for empty values #11419

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/4231
Author: @mxyng
Created: 5/7/2024
Status: Merged
Merged: 5/7/2024
Merged by: @mxyng

Base: mainHead: mxyng/parser


📝 Commits (1)

  • 63bc884 types/model: fix parser for empty values

📊 Changes

2 files changed (+4 additions, -4 deletions)

View changed files

📝 types/model/file.go (+0 -4)
📝 types/model/file_test.go (+4 -0)

📄 Description

empty values were incorrectly seen as \n after parsing, formatting, and reparsing


🔄 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/4231 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 5/7/2024 **Status:** ✅ Merged **Merged:** 5/7/2024 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/parser` --- ### 📝 Commits (1) - [`63bc884`](https://github.com/ollama/ollama/commit/63bc884e2503ebefc580c499a82460affe50628b) types/model: fix parser for empty values ### 📊 Changes **2 files changed** (+4 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `types/model/file.go` (+0 -4) 📝 `types/model/file_test.go` (+4 -0) </details> ### 📄 Description empty values were incorrectly seen as `\n` after parsing, formatting, and reparsing --- <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:29:49 -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#11419