[PR #7785] [MERGED] server: remove out of date anonymous access check #17790

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/7785
Author: @BruceMacD
Created: 11/21/2024
Status: Merged
Merged: 11/22/2024
Merged by: @BruceMacD

Base: mainHead: brucemacd/key-err-obsolete


📝 Commits (2)

  • 384a767 server: remove out of date anonymous access check
  • ce80490 remove unused func

📊 Changes

2 files changed (+0 additions, -97 deletions)

View changed files

📝 cmd/cmd.go (+0 -53)
📝 server/images.go (+0 -44)

📄 Description

In the past the ollama.com server would return a JWT that contained information about the user being authenticated. This was used to return different error messages to the user. This is no longer possible since the token used to authenticate does not contain information about the user anymore. Removing this code that no longer works.

Follow up changes will improve the error messages returned here, but good to clean up first.


🔄 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/7785 **Author:** [@BruceMacD](https://github.com/BruceMacD) **Created:** 11/21/2024 **Status:** ✅ Merged **Merged:** 11/22/2024 **Merged by:** [@BruceMacD](https://github.com/BruceMacD) **Base:** `main` ← **Head:** `brucemacd/key-err-obsolete` --- ### 📝 Commits (2) - [`384a767`](https://github.com/ollama/ollama/commit/384a7670dfb4690fc865b125af072e533b768e20) server: remove out of date anonymous access check - [`ce80490`](https://github.com/ollama/ollama/commit/ce80490ec4b9ae54137c6aac30e74b70b8deaa22) remove unused func ### 📊 Changes **2 files changed** (+0 additions, -97 deletions) <details> <summary>View changed files</summary> 📝 `cmd/cmd.go` (+0 -53) 📝 `server/images.go` (+0 -44) </details> ### 📄 Description In the past the ollama.com server would return a JWT that contained information about the user being authenticated. This was used to return different error messages to the user. This is no longer possible since the token used to authenticate does not contain information about the user anymore. Removing this code that no longer works. Follow up changes will improve the error messages returned here, but good to clean up first. --- <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 06:14:04 -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#17790