[PR #3789] [MERGED] chore: use errors.New to replace fmt.Errorf with no parameters will much better #89267

Closed
opened 2026-05-10 08:08:12 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/3789
Author: @ChengenH
Created: 4/21/2024
Status: Merged
Merged: 4/21/2024
Merged by: @jmorganca

Base: mainHead: main


📝 Commits (1)

  • dcf0f5a chore: use errors.New to replace fmt.Errorf will much better

📊 Changes

3 files changed (+5 additions, -4 deletions)

View changed files

📝 api/types.go (+2 -1)
📝 llm/payload.go (+1 -1)
📝 server/images.go (+2 -2)

📄 Description

No description provided


🔄 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/3789 **Author:** [@ChengenH](https://github.com/ChengenH) **Created:** 4/21/2024 **Status:** ✅ Merged **Merged:** 4/21/2024 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`dcf0f5a`](https://github.com/ollama/ollama/commit/dcf0f5a06bb143aa4749a37a291314900cede344) chore: use errors.New to replace fmt.Errorf will much better ### 📊 Changes **3 files changed** (+5 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `api/types.go` (+2 -1) 📝 `llm/payload.go` (+1 -1) 📝 `server/images.go` (+2 -2) </details> ### 📄 Description _No description provided_ --- <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-10 08:08:12 -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#89267