[PR #215] [MERGED] add insert support to generate endpoint #417

Closed
opened 2026-02-15 16:30:19 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama-python/pull/215
Author: @royjhan
Created: 7/17/2024
Status: Merged
Merged: 7/18/2024
Merged by: @royjhan

Base: mainHead: royh/suffix


📝 Commits (5)

📊 Changes

3 files changed (+17 additions, -3 deletions)

View changed files

📝 examples/fill-in-middle/main.py (+3 -3)
📝 ollama/_client.py (+8 -0)
📝 tests/test_client.py (+6 -0)

📄 Description

Update fill-in-the-middle support to use the suffix field.

Implements: https://github.com/ollama/ollama/pull/5207


🔄 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-python/pull/215 **Author:** [@royjhan](https://github.com/royjhan) **Created:** 7/17/2024 **Status:** ✅ Merged **Merged:** 7/18/2024 **Merged by:** [@royjhan](https://github.com/royjhan) **Base:** `main` ← **Head:** `royh/suffix` --- ### 📝 Commits (5) - [`1958099`](https://github.com/ollama/ollama-python/commit/19580990860bb3aa60d8ef0814d3507bc5e327b1) add suffix - [`6c77302`](https://github.com/ollama/ollama-python/commit/6c77302f7027d384350375f661239981fc18aaeb) update fill-in-the-middle example - [`38ba3e6`](https://github.com/ollama/ollama-python/commit/38ba3e6a4b3b9d1e96b2805f9339cdec8ba69ce6) keep example - [`acd0726`](https://github.com/ollama/ollama-python/commit/acd07266cf3fe83c502ea094d989cb4c059a9a6d) lint - [`3d93784`](https://github.com/ollama/ollama-python/commit/3d93784581c9db8eecb170446fc04c49ad0635e0) variables ### 📊 Changes **3 files changed** (+17 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `examples/fill-in-middle/main.py` (+3 -3) 📝 `ollama/_client.py` (+8 -0) 📝 `tests/test_client.py` (+6 -0) </details> ### 📄 Description Update fill-in-the-middle support to use the suffix field. Implements: https://github.com/ollama/ollama/pull/5207 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 16:30:19 -05:00
yindo closed this issue 2026-02-15 16:30:19 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ollama/ollama-python#417