[PR #14704] server: remove debug print statement from setMessages #14796

Open
opened 2026-04-13 01:02:47 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/14704
Author: @gambletan
Created: 3/8/2026
Status: 🔄 Open

Base: mainHead: fix/remove-debug-print


📝 Commits (1)

  • a9a2e3d server: remove debug print statement from setMessages

📊 Changes

1 file changed (+0 additions, -1 deletions)

View changed files

📝 server/create.go (+0 -1)

📄 Description

Summary

Remove leftover fmt.Printf("removing old messages\n") debug output in server/create.go that prints to stdout during model creation when messages are being replaced.

This debug statement was likely left in during development and produces unexpected output during normal ollama create operations.

Test plan

  • Run ollama create with MESSAGE instructions and verify no "removing old messages" output appears

🤖 Generated with Claude Code


🔄 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/14704 **Author:** [@gambletan](https://github.com/gambletan) **Created:** 3/8/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `fix/remove-debug-print` --- ### 📝 Commits (1) - [`a9a2e3d`](https://github.com/ollama/ollama/commit/a9a2e3d2d1ed0953119faddde999cf4a68d8c21f) server: remove debug print statement from setMessages ### 📊 Changes **1 file changed** (+0 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `server/create.go` (+0 -1) </details> ### 📄 Description ## Summary Remove leftover `fmt.Printf("removing old messages\n")` debug output in `server/create.go` that prints to stdout during model creation when messages are being replaced. This debug statement was likely left in during development and produces unexpected output during normal `ollama create` operations. ## Test plan - [ ] Run `ollama create` with MESSAGE instructions and verify no "removing old messages" output appears 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <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-13 01:02:47 -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#14796