[PR #2245] [MERGED] Log prompt when running ollama serve with OLLAMA_DEBUG=1 #16101

Closed
opened 2026-04-16 05:16:08 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/2245
Author: @jmorganca
Created: 1/28/2024
Status: Merged
Merged: 1/28/2024
Merged by: @jmorganca

Base: mainHead: print-prompt


📝 Commits (1)

  • 58253e8 print prompt with OLLAMA_DEBUG=1

📊 Changes

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

View changed files

📝 server/routes.go (+4 -0)

📄 Description

Fixes https://github.com/ollama/ollama/issues/1533
Fixes https://github.com/ollama/ollama/issues/1118


🔄 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/2245 **Author:** [@jmorganca](https://github.com/jmorganca) **Created:** 1/28/2024 **Status:** ✅ Merged **Merged:** 1/28/2024 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `print-prompt` --- ### 📝 Commits (1) - [`58253e8`](https://github.com/ollama/ollama/commit/58253e8a984db9252f8c9510ac44398ddac87d07) print prompt with `OLLAMA_DEBUG=1` ### 📊 Changes **1 file changed** (+4 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `server/routes.go` (+4 -0) </details> ### 📄 Description Fixes https://github.com/ollama/ollama/issues/1533 Fixes https://github.com/ollama/ollama/issues/1118 --- <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-16 05:16:08 -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#16101