[PR #2467] [MERGED] Check image filetype in api handlers #10899

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/2467
Author: @jmorganca
Created: 2/12/2024
Status: Merged
Merged: 2/12/2024
Merged by: @jmorganca

Base: mainHead: jmorganca/filetype


📝 Commits (1)

  • 8d7e5a9 Check image filetype in api handlers

📊 Changes

2 files changed (+24 additions, -1 deletions)

View changed files

📝 cmd/interactive.go (+1 -1)
📝 server/routes.go (+23 -0)

📄 Description

Fixes: https://github.com/ollama/ollama/issues/2456


🔄 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/2467 **Author:** [@jmorganca](https://github.com/jmorganca) **Created:** 2/12/2024 **Status:** ✅ Merged **Merged:** 2/12/2024 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `jmorganca/filetype` --- ### 📝 Commits (1) - [`8d7e5a9`](https://github.com/ollama/ollama/commit/8d7e5a95d93490d461ca133d22f2d80fbb3da86d) Check image filetype in api handlers ### 📊 Changes **2 files changed** (+24 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `cmd/interactive.go` (+1 -1) 📝 `server/routes.go` (+23 -0) </details> ### 📄 Description Fixes: https://github.com/ollama/ollama/issues/2456 --- <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:14:43 -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#10899