[PR #14685] [MERGED] cloud_proxy: handle stream disconnects gracefully #14786

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/14685
Author: @drifkin
Created: 3/7/2026
Status: Merged
Merged: 3/7/2026
Merged by: @drifkin

Base: mainHead: drifkin/context-canceled


📝 Commits (1)

  • 76b8946 cloud_proxy: handle stream disconnects gracefully

📊 Changes

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

View changed files

📝 server/cloud_proxy.go (+20 -1)

📄 Description

Previously we were printing out bad errors for expected cases like clients disconnecting. Now we only debug log when that happens (which still might help in cases where we're figuring out why an integration isn't working). For other errors, we print out a proper warning now


🔄 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/14685 **Author:** [@drifkin](https://github.com/drifkin) **Created:** 3/7/2026 **Status:** ✅ Merged **Merged:** 3/7/2026 **Merged by:** [@drifkin](https://github.com/drifkin) **Base:** `main` ← **Head:** `drifkin/context-canceled` --- ### 📝 Commits (1) - [`76b8946`](https://github.com/ollama/ollama/commit/76b894696daedd4a8d54f7aab7ea3cf4f900f204) cloud_proxy: handle stream disconnects gracefully ### 📊 Changes **1 file changed** (+20 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `server/cloud_proxy.go` (+20 -1) </details> ### 📄 Description Previously we were printing out bad errors for expected cases like clients disconnecting. Now we only debug log when that happens (which still might help in cases where we're figuring out why an integration isn't working). For other errors, we print out a proper warning now --- <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:36 -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#14786