[PR #2] [MERGED] fix endpoints #319

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama-python/pull/2
Author: @mxyng
Created: 12/21/2023
Status: Merged
Merged: 12/22/2023
Merged by: @mxyng

Base: mainHead: mxyng/fix


📝 Commits (4)

📊 Changes

8 files changed (+49 additions, -41 deletions)

View changed files

📝 README.md (+2 -2)
📝 examples/simple-chat-stream/main.py (+2 -4)
📝 examples/simple-chat/main.py (+1 -1)
examples/simple-generate-stream/main.py (+5 -0)
examples/simple-generate/main.py (+5 -0)
📝 examples/simple-multimodal/main.py (+1 -1)
📝 ollama/_client.py (+15 -15)
📝 tests/test_client.py (+18 -18)

📄 Description

chat/generate uses model while other endpoints use name


🔄 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/2 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 12/21/2023 **Status:** ✅ Merged **Merged:** 12/22/2023 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/fix` --- ### 📝 Commits (4) - [`de61864`](https://github.com/ollama/ollama-python/commit/de61864358e5ea649f3bdc3584af4ef5eeab3e31) fix api calls - [`2236de2`](https://github.com/ollama/ollama-python/commit/2236de230cd784a3fe971f88739d67fcf62f3cf5) s/base/base_url/ - [`e8a66b8`](https://github.com/ollama/ollama-python/commit/e8a66b8de168e9331485ecdfe685158ceafd37fb) examples - [`d5b1cc6`](https://github.com/ollama/ollama-python/commit/d5b1cc60fa538a4bf0ec7fe80f2557a35b86a064) update readme ### 📊 Changes **8 files changed** (+49 additions, -41 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+2 -2) 📝 `examples/simple-chat-stream/main.py` (+2 -4) 📝 `examples/simple-chat/main.py` (+1 -1) ➕ `examples/simple-generate-stream/main.py` (+5 -0) ➕ `examples/simple-generate/main.py` (+5 -0) 📝 `examples/simple-multimodal/main.py` (+1 -1) 📝 `ollama/_client.py` (+15 -15) 📝 `tests/test_client.py` (+18 -18) </details> ### 📄 Description chat/generate uses `model` while other endpoints use `name` --- <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:29:56 -05:00
yindo closed this issue 2026-02-15 16:29:56 -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#319