[PR #2789] [MERGED] prepend image tags #10977

Closed
opened 2026-04-12 23:17:32 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/2789
Author: @mxyng
Created: 2/27/2024
Status: Merged
Merged: 2/29/2024
Merged by: @jmorganca

Base: mainHead: mxyng/prepend-image-tags


📝 Commits (1)

📊 Changes

3 files changed (+21 additions, -18 deletions)

View changed files

📝 server/prompt.go (+5 -3)
📝 server/prompt_test.go (+3 -3)
📝 server/routes.go (+13 -12)

📄 Description

instead of appending image tags, prepend them which produces better results in general

resolves #2769
resolves #2788


🔄 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/2789 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 2/27/2024 **Status:** ✅ Merged **Merged:** 2/29/2024 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `mxyng/prepend-image-tags` --- ### 📝 Commits (1) - [`8b17c8d`](https://github.com/ollama/ollama/commit/8b17c8d9230dd56263995f1bf672668ba4fb7734) prepend image tags ### 📊 Changes **3 files changed** (+21 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `server/prompt.go` (+5 -3) 📝 `server/prompt_test.go` (+3 -3) 📝 `server/routes.go` (+13 -12) </details> ### 📄 Description instead of appending image tags, prepend them which produces better results in general resolves #2769 resolves #2788 --- <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-12 23:17:32 -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#10977