[PR #566] [MERGED] Use API to check if model exists and pull if necessary #36098

Closed
opened 2026-04-22 20:48:29 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/566
Author: @mxyng
Created: 9/21/2023
Status: Merged
Merged: 9/21/2023
Merged by: @mxyng

Base: mainHead: mxyng/api-check-model-exists


📝 Commits (2)

  • 1fabba4 refactor default allow origins
  • 6137b12 validate existence and pull model using api

📊 Changes

2 files changed (+29 additions, -35 deletions)

View changed files

📝 cmd/cmd.go (+12 -20)
📝 server/routes.go (+17 -15)

📄 Description

Resolves #484


🔄 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/566 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 9/21/2023 **Status:** ✅ Merged **Merged:** 9/21/2023 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/api-check-model-exists` --- ### 📝 Commits (2) - [`1fabba4`](https://github.com/ollama/ollama/commit/1fabba474b3a1362b85da0e088dcd3967f39151b) refactor default allow origins - [`6137b12`](https://github.com/ollama/ollama/commit/6137b12799c6d40b75131ab36187474858cd8e8c) validate existence and pull model using api ### 📊 Changes **2 files changed** (+29 additions, -35 deletions) <details> <summary>View changed files</summary> 📝 `cmd/cmd.go` (+12 -20) 📝 `server/routes.go` (+17 -15) </details> ### 📄 Description Resolves #484 --- <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-22 20:48:29 -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#36098