[PR #4533] [MERGED] Move the parser back + handle utf16 files #42764

Closed
opened 2026-04-24 22:29:51 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/4533
Author: @pdevine
Created: 5/20/2024
Status: Merged
Merged: 5/20/2024
Merged by: @pdevine

Base: mainHead: pdevine/move-the-parser


📝 Commits (3)

📊 Changes

6 files changed (+84 additions, -17 deletions)

View changed files

📝 cmd/cmd.go (+2 -1)
📝 parser/parser.go (+29 -1)
📝 parser/parser_test.go (+37 -1)
📝 server/images.go (+12 -11)
📝 server/routes.go (+2 -1)
📝 server/routes_test.go (+2 -2)

📄 Description

This moves the parser back to parser/ and also adds support for decoding utf16le and utf16be files.

Fixes #4503


🔄 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/4533 **Author:** [@pdevine](https://github.com/pdevine) **Created:** 5/20/2024 **Status:** ✅ Merged **Merged:** 5/20/2024 **Merged by:** [@pdevine](https://github.com/pdevine) **Base:** `main` ← **Head:** `pdevine/move-the-parser` --- ### 📝 Commits (3) - [`c9ff747`](https://github.com/ollama/ollama/commit/c9ff747affa1609efdf1b1757f5404e96563fa65) move the parser back - [`41f5703`](https://github.com/ollama/ollama/commit/41f5703388c94316c82bcc9b1a91d8982395ba2d) parse utf16 files - [`ce8d7c4`](https://github.com/ollama/ollama/commit/ce8d7c4137eefcee86bc20bb53763188ea25276d) handle big endianess ### 📊 Changes **6 files changed** (+84 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `cmd/cmd.go` (+2 -1) 📝 `parser/parser.go` (+29 -1) 📝 `parser/parser_test.go` (+37 -1) 📝 `server/images.go` (+12 -11) 📝 `server/routes.go` (+2 -1) 📝 `server/routes_test.go` (+2 -2) </details> ### 📄 Description This moves the parser back to `parser/` and also adds support for decoding utf16le and utf16be files. Fixes #4503 --- <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-24 22:29:51 -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#42764