[PR #11958] [MERGED] llm: Check for nil memory data before printing #12405

Closed
opened 2025-11-12 16:35:12 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/11958
Author: @jessegross
Created: 8/18/2025
Status: Merged
Merged: 8/18/2025
Merged by: @jessegross

Base: mainHead: jessegross/nil_mem


📝 Commits (1)

  • dce7d85 llm: Check for nil memory data before printing

📊 Changes

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

View changed files

📝 llm/server.go (+3 -1)

📄 Description

We dump out our best memory estimate after we complete processing for any reason, including errors. This is helpful for finding what what stopped us in error conditions but in some cases we might not have gotten even the first result yet.

Fixes #11957


🔄 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/11958 **Author:** [@jessegross](https://github.com/jessegross) **Created:** 8/18/2025 **Status:** ✅ Merged **Merged:** 8/18/2025 **Merged by:** [@jessegross](https://github.com/jessegross) **Base:** `main` ← **Head:** `jessegross/nil_mem` --- ### 📝 Commits (1) - [`dce7d85`](https://github.com/ollama/ollama/commit/dce7d852b7fa2bdf598d4003df60fece01b6fff8) llm: Check for nil memory data before printing ### 📊 Changes **1 file changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `llm/server.go` (+3 -1) </details> ### 📄 Description We dump out our best memory estimate after we complete processing for any reason, including errors. This is helpful for finding what what stopped us in error conditions but in some cases we might not have gotten even the first result yet. Fixes #11957 --- <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 2025-11-12 16:35:12 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama-ollama#12405