[PR #20] [MERGED] use difflib.get_close_matches #35805

Closed
opened 2026-04-22 20:33:39 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/20
Author: @mxyng
Created: 6/29/2023
Status: Merged
Merged: 6/30/2023
Merged by: @mxyng

Base: mainHead: close-matches


📝 Commits (1)

  • ba3cbbb use difflib.get_close_matches

📊 Changes

1 file changed (+3 additions, -13 deletions)

View changed files

📝 ollama/prompt.py (+3 -13)

📄 Description

same result with less code


🔄 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/20 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 6/29/2023 **Status:** ✅ Merged **Merged:** 6/30/2023 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `close-matches` --- ### 📝 Commits (1) - [`ba3cbbb`](https://github.com/ollama/ollama/commit/ba3cbbbb4c6aa993c7fa44c95fe173c9813948aa) use difflib.get_close_matches ### 📊 Changes **1 file changed** (+3 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `ollama/prompt.py` (+3 -13) </details> ### 📄 Description same result with less code --- <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 20:33:39 -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#35805