[PR #14329] Adding search command - Continuation of #10046 #76918

Open
opened 2026-05-05 09:38:30 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/14329
Author: @lhofstetter
Created: 2/20/2026
Status: 🔄 Open

Base: mainHead: main


📝 Commits (1)

📊 Changes

8 files changed (+394 additions, -0 deletions)

View changed files

📝 api/client.go (+8 -0)
📝 api/types.go (+21 -0)
📝 cmd/cmd.go (+89 -0)
📝 cmd/cmd_test.go (+104 -0)
📝 go.mod (+2 -0)
📝 go.sum (+57 -0)
📝 server/routes.go (+19 -0)
server/search.go (+94 -0)

📄 Description

I've gone ahead and opened a PR against the forked repository from #10046, but I figured it would be easier to simply open a PR against the original repo since it would merge more cleanly.

This should add the search command while bringing the repository up to date with the latest commits. However, please PLEASE pull and test my work - I honestly don't use Go, and merging was largely done by visually inspecting diffs in VS Code and merging in what seemed to be the correct order. It does build the CLI tool on my Macbook Pro (M3 Max, macOS 36.3 Beta).

Thanks so much!


🔄 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/14329 **Author:** [@lhofstetter](https://github.com/lhofstetter) **Created:** 2/20/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`2eed77c`](https://github.com/ollama/ollama/commit/2eed77c5a50deeb863e1beecd4ca0e20e79183d9) Adding search command ### 📊 Changes **8 files changed** (+394 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `api/client.go` (+8 -0) 📝 `api/types.go` (+21 -0) 📝 `cmd/cmd.go` (+89 -0) 📝 `cmd/cmd_test.go` (+104 -0) 📝 `go.mod` (+2 -0) 📝 `go.sum` (+57 -0) 📝 `server/routes.go` (+19 -0) ➕ `server/search.go` (+94 -0) </details> ### 📄 Description I've gone ahead and opened a PR against the forked repository from #10046, but I figured it would be easier to simply open a PR against the original repo since it would merge more cleanly. This should add the search command while bringing the repository up to date with the latest commits. However, please PLEASE pull and test my work - I honestly don't use Go, and merging was largely done by visually inspecting diffs in VS Code and merging in what seemed to be the correct order. It does build the CLI tool on my Macbook Pro (M3 Max, macOS 36.3 Beta). Thanks so much! --- <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-05-05 09:38:30 -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#76918