[PR #13784] cmd: auto-detect image generation models during create #24928

Open
opened 2026-04-19 17:53:56 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/13784
Author: @jmorganca
Created: 1/19/2026
Status: 🔄 Open

Base: mainHead: imagegen-auto-detect-create


📝 Commits (2)

  • bda8cb7 cmd: auto-detect image generation models during create
  • 5dc20e9 simplify

📊 Changes

2 files changed (+44 additions, -74 deletions)

View changed files

📝 cmd/cmd.go (+27 -74)
📝 x/create/client/create.go (+17 -0)

📄 Description

Remove the --experimental flag requirement for creating image generation models. Now ollama create automatically detects image generation models by checking for model_index.json in the model directory and routes them to the direct creation path.


🔄 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/13784 **Author:** [@jmorganca](https://github.com/jmorganca) **Created:** 1/19/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `imagegen-auto-detect-create` --- ### 📝 Commits (2) - [`bda8cb7`](https://github.com/ollama/ollama/commit/bda8cb740340a3089f3b352fa35768197296312e) cmd: auto-detect image generation models during create - [`5dc20e9`](https://github.com/ollama/ollama/commit/5dc20e91d07d1d07cafd750a290f205d702624e4) simplify ### 📊 Changes **2 files changed** (+44 additions, -74 deletions) <details> <summary>View changed files</summary> 📝 `cmd/cmd.go` (+27 -74) 📝 `x/create/client/create.go` (+17 -0) </details> ### 📄 Description Remove the `--experimental` flag requirement for creating image generation models. Now `ollama create` automatically detects image generation models by checking for model_index.json in the model directory and routes them to the direct creation path. --- <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 17:53:56 -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#24928