[PR #382] [CLOSED] Closes #371 #20670

Closed
opened 2026-04-19 15:10:55 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/382
Author: @jesjess243
Created: 8/18/2023
Status: Closed

Base: mainHead: main


📝 Commits (3)

📊 Changes

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

View changed files

📝 server/modelpath.go (+1 -1)

📄 Description

Hello,

ModelPath.ParseModelPath(name) now trims https:// from name if it is present. Keeping in the scope of the issue, no alternative protocols are accepted and a path with no protocol defaults to https as before. My first approach would've allowed garbage text in the protocol, but this lacks that side-effect.


🔄 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/382 **Author:** [@jesjess243](https://github.com/jesjess243) **Created:** 8/18/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (3) - [`e46e04f`](https://github.com/ollama/ollama/commit/e46e04fb7fc43000a4297ef5cc4bb9129c974c39) Close issue#371 - [`cc06153`](https://github.com/ollama/ollama/commit/cc06153757a2ec8dfbb9c2f24f6dde31ea1f85e1) Closes #371 - [`06f8f01`](https://github.com/ollama/ollama/commit/06f8f01e382d751df5b8c063c7109779302ee16e) Closes #371 ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `server/modelpath.go` (+1 -1) </details> ### 📄 Description Hello, ModelPath.ParseModelPath(name) now trims https:// from name if it is present. Keeping in the scope of the issue, no alternative protocols are accepted and a path with no protocol defaults to https as before. My first approach would've allowed garbage text in the protocol, but this lacks that side-effect. --- <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-19 15:10:55 -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#20670