[PR #4247] [MERGED] skip hidden files in list models handler #10165

Closed
opened 2025-11-12 15:22:23 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/4247
Author: @BruceMacD
Created: 5/8/2024
Status: Merged
Merged: 5/8/2024
Merged by: @BruceMacD

Base: mainHead: brucemacd/skip-hidden


📝 Commits (3)

  • 4c03de3 skip hidden files in list models handler
  • 47bb79c Update server/routes.go
  • 039b2fe Update routes.go

📊 Changes

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

View changed files

📝 server/routes.go (+6 -0)

📄 Description

Hidden files on MacOS (ex: .DS_Store) cause the list command to file when not skipped:

❯ ollama ls
Error: unqualified name: 

🔄 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/4247 **Author:** [@BruceMacD](https://github.com/BruceMacD) **Created:** 5/8/2024 **Status:** ✅ Merged **Merged:** 5/8/2024 **Merged by:** [@BruceMacD](https://github.com/BruceMacD) **Base:** `main` ← **Head:** `brucemacd/skip-hidden` --- ### 📝 Commits (3) - [`4c03de3`](https://github.com/ollama/ollama/commit/4c03de3b7cf053dc6a142be9c9cacc24c623bfb5) skip hidden files in list models handler - [`47bb79c`](https://github.com/ollama/ollama/commit/47bb79cde2779345f5ee62f8e8931bc9483a6897) Update server/routes.go - [`039b2fe`](https://github.com/ollama/ollama/commit/039b2fe29715b723e582bff7f4b73e9d4695d1c1) Update routes.go ### 📊 Changes **1 file changed** (+6 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `server/routes.go` (+6 -0) </details> ### 📄 Description Hidden files on MacOS (ex: `.DS_Store`) cause the list command to file when not skipped: ``` ❯ ollama ls Error: unqualified name: ``` --- <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 15:22:23 -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#10165