[PR #7850] [MERGED] openai: remove unused error code #74831

Closed
opened 2026-05-05 07:08:11 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/7850
Author: @BruceMacD
Created: 11/26/2024
Status: Merged
Merged: 11/27/2024
Merged by: @BruceMacD

Base: mainHead: brucemacd/openai-no-err-code


📝 Commits (1)

  • 28359e0 openai: remove unused error code

📊 Changes

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

View changed files

📝 openai/openai.go (+6 -6)

📄 Description

The writeError takes a code argument which is no longer used. Remove it for clarity.


🔄 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/7850 **Author:** [@BruceMacD](https://github.com/BruceMacD) **Created:** 11/26/2024 **Status:** ✅ Merged **Merged:** 11/27/2024 **Merged by:** [@BruceMacD](https://github.com/BruceMacD) **Base:** `main` ← **Head:** `brucemacd/openai-no-err-code` --- ### 📝 Commits (1) - [`28359e0`](https://github.com/ollama/ollama/commit/28359e0d602934e4d6a123ba5c7422f753690361) openai: remove unused error code ### 📊 Changes **1 file changed** (+6 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `openai/openai.go` (+6 -6) </details> ### 📄 Description The writeError takes a code argument which is no longer used. Remove it for clarity. --- <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-05-05 07:08:11 -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#74831