[PR #12545] [MERGED] Revert "add truncate and shift parameters" #45116

Closed
opened 2026-04-25 00:48:07 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/12545
Author: @jmorganca
Created: 10/9/2025
Status: Merged
Merged: 10/9/2025
Merged by: @jmorganca

Base: mainHead: revert-12519-jmorganca/truncate


📝 Commits (1)

📊 Changes

8 files changed (+67 additions, -272 deletions)

View changed files

📝 api/types.go (+0 -16)
📝 llm/server.go (+2 -4)
📝 runner/llamarunner/runner.go (+0 -22)
📝 runner/ollamarunner/runner.go (+0 -25)
📝 server/prompt.go (+2 -2)
📝 server/prompt_test.go (+38 -64)
📝 server/routes.go (+25 -38)
📝 server/routes_generate_test.go (+0 -101)

📄 Description

Reverts ollama/ollama#12519 until we test it against more integrations and with OpenAI compatibility


🔄 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/12545 **Author:** [@jmorganca](https://github.com/jmorganca) **Created:** 10/9/2025 **Status:** ✅ Merged **Merged:** 10/9/2025 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `revert-12519-jmorganca/truncate` --- ### 📝 Commits (1) - [`2e0b7a3`](https://github.com/ollama/ollama/commit/2e0b7a36c06d0e3eeccad047c08b1e5b1279a71a) Revert "add truncate and shift parameters (#12519)" ### 📊 Changes **8 files changed** (+67 additions, -272 deletions) <details> <summary>View changed files</summary> 📝 `api/types.go` (+0 -16) 📝 `llm/server.go` (+2 -4) 📝 `runner/llamarunner/runner.go` (+0 -22) 📝 `runner/ollamarunner/runner.go` (+0 -25) 📝 `server/prompt.go` (+2 -2) 📝 `server/prompt_test.go` (+38 -64) 📝 `server/routes.go` (+25 -38) 📝 `server/routes_generate_test.go` (+0 -101) </details> ### 📄 Description Reverts ollama/ollama#12519 until we test it against more integrations and with OpenAI compatibility --- <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-25 00:48:07 -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#45116