[PR #9742] [MERGED] fix: error on embeddings; not currently implemented #38921

Closed
opened 2026-04-22 23:34:34 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/9742
Author: @mxyng
Created: 3/13/2025
Status: Merged
Merged: 3/13/2025
Merged by: @mxyng

Base: mainHead: mxyng/engine-error-embeddings


📝 Commits (1)

  • ec46f32 engine: error on embeddings; not currently implemented

📊 Changes

2 files changed (+9 additions, -66 deletions)

View changed files

📝 runner/ollamarunner/runner.go (+7 -62)
📝 server/routes.go (+2 -4)

📄 Description

embeddings is not (currently) supported in the ollama engine so error on requests to /api/embed for any models that are routed to that engine

without this change, embeddings on the ollama engine will return an empty list rather than error which hides the non-support

resolves #9739


🔄 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/9742 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 3/13/2025 **Status:** ✅ Merged **Merged:** 3/13/2025 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/engine-error-embeddings` --- ### 📝 Commits (1) - [`ec46f32`](https://github.com/ollama/ollama/commit/ec46f3286c7a6a4dc7bcfb373d63ca909952ea4a) engine: error on embeddings; not currently implemented ### 📊 Changes **2 files changed** (+9 additions, -66 deletions) <details> <summary>View changed files</summary> 📝 `runner/ollamarunner/runner.go` (+7 -62) 📝 `server/routes.go` (+2 -4) </details> ### 📄 Description embeddings is not (currently) supported in the ollama engine so error on requests to `/api/embed` for any models that are routed to that engine without this change, embeddings on the ollama engine will return an empty list rather than error which hides the non-support resolves #9739 --- <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 23:34:34 -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#38921