[PR #64] [CLOSED] Add iterative_chat and examples for simlified chat history keeping #349

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama-python/pull/64
Author: @connor-makowski
Created: 2/13/2024
Status: Closed

Base: mainHead: chat-history


📝 Commits (2)

  • a744b22 Add historic_chat and examples for simlified chat history keeping. Great for interactive or sustained kernels.
  • b84b8fb Minor cleanup for docs and change name from history chat to more appropriate iterative chat.

📊 Changes

5 files changed (+147 additions, -1 deletions)

View changed files

📝 README.md (+36 -0)
examples/chat-iterative/main.py (+15 -0)
examples/chat-stream-iterative/main.py (+18 -0)
📝 ollama/__init__.py (+1 -0)
📝 ollama/_client.py (+77 -1)

📄 Description

This is great for interactive or sustained kernels.

Addresses: https://github.com/ollama/ollama-python/issues/63


🔄 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/64 **Author:** [@connor-makowski](https://github.com/connor-makowski) **Created:** 2/13/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `chat-history` --- ### 📝 Commits (2) - [`a744b22`](https://github.com/ollama/ollama-python/commit/a744b22dd209308de0175114547699ded4fa6652) Add historic_chat and examples for simlified chat history keeping. Great for interactive or sustained kernels. - [`b84b8fb`](https://github.com/ollama/ollama-python/commit/b84b8fbf226a56fac64abaec9c754c3c3f2cf79d) Minor cleanup for docs and change name from history chat to more appropriate iterative chat. ### 📊 Changes **5 files changed** (+147 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+36 -0) ➕ `examples/chat-iterative/main.py` (+15 -0) ➕ `examples/chat-stream-iterative/main.py` (+18 -0) 📝 `ollama/__init__.py` (+1 -0) 📝 `ollama/_client.py` (+77 -1) </details> ### 📄 Description This is great for interactive or sustained kernels. Addresses: https://github.com/ollama/ollama-python/issues/63 --- <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:04 -05:00
yindo closed this issue 2026-02-15 16:30:04 -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#349