[PR #40] [MERGED] fix parse modelfile #339

Closed
opened 2026-02-15 16:30:02 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama-python/pull/40
Author: @mxyng
Created: 1/29/2024
Status: Merged
Merged: 1/29/2024
Merged by: @mxyng

Base: mainHead: mxyng/fix-parse-modelfile


📝 Commits (1)

📊 Changes

2 files changed (+117 additions, -14 deletions)

View changed files

📝 ollama/_client.py (+18 -12)
📝 tests/test_client.py (+99 -2)

📄 Description

  • do not add newlines while parsing
  • do not add leading whitespace

🔄 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-python/pull/40 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 1/29/2024 **Status:** ✅ Merged **Merged:** 1/29/2024 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/fix-parse-modelfile` --- ### 📝 Commits (1) - [`8e5d431`](https://github.com/ollama/ollama-python/commit/8e5d431d0d5232bf7862128d6fd53950e6086f90) fix parse modelfile ### 📊 Changes **2 files changed** (+117 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `ollama/_client.py` (+18 -12) 📝 `tests/test_client.py` (+99 -2) </details> ### 📄 Description - do not add newlines while parsing - do not add leading whitespace --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 16:30:02 -05:00
yindo closed this issue 2026-02-15 16:30:02 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ollama/ollama-python#339