[PR #1828] [MERGED] Accept windows paths for image processing #9433

Closed
opened 2025-11-12 15:06:22 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/1828
Author: @dhiltgen
Created: 1/6/2024
Status: Merged
Merged: 1/7/2024
Merged by: @dhiltgen

Base: mainHead: fix_llava


📝 Commits (1)

  • e0d05b0 Accept windows paths for image processing

📊 Changes

2 files changed (+54 additions, -2 deletions)

View changed files

📝 cmd/interactive.go (+3 -2)
cmd/interactive_test.go (+51 -0)

📄 Description

This enhances our regex to support windows style paths. The regex will match invalid path specifications, but we'll still validate file existence and filter out mismatches

Fixes #1794


🔄 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/1828 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 1/6/2024 **Status:** ✅ Merged **Merged:** 1/7/2024 **Merged by:** [@dhiltgen](https://github.com/dhiltgen) **Base:** `main` ← **Head:** `fix_llava` --- ### 📝 Commits (1) - [`e0d05b0`](https://github.com/ollama/ollama/commit/e0d05b0f1ec733508a0b3edaf0cd0e03a81808c6) Accept windows paths for image processing ### 📊 Changes **2 files changed** (+54 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `cmd/interactive.go` (+3 -2) ➕ `cmd/interactive_test.go` (+51 -0) </details> ### 📄 Description This enhances our regex to support windows style paths. The regex will match invalid path specifications, but we'll still validate file existence and filter out mismatches Fixes #1794 --- <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 2025-11-12 15:06:22 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama-ollama#9433