[PR #1] [MERGED] add ci tests/lint #315

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

📋 Pull Request Information

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

Base: mainHead: mxyng/tests


📝 Commits (10+)

📊 Changes

13 files changed (+1654 additions, -481 deletions)

View changed files

.github/workflows/publish.yaml (+24 -0)
.github/workflows/test.yaml (+32 -0)
.gitignore (+160 -0)
📝 README.md (+70 -0)
examples/simple-fill-in-middle/main.py (+22 -0)
📝 ollama/__init__.py (+27 -1)
ollama/_client.py (+458 -0)
ollama/_types.py (+53 -0)
ollama/client.py (+0 -182)
ollama/client_test.py (+0 -292)
📝 poetry.lock (+19 -1)
📝 pyproject.toml (+10 -5)
tests/test_client.py (+779 -0)

📄 Description

TODO:

  • type hints
  • docstrings
  • concrete types
    • message
    • options
    • requests
    • responses

🔄 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/1 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 12/20/2023 **Status:** ✅ Merged **Merged:** 12/21/2023 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/tests` --- ### 📝 Commits (10+) - [`4923f30`](https://github.com/ollama/ollama-python/commit/4923f30a4fd9b96e3051571832582e662a1a9e45) add .gitignore - [`717abfb`](https://github.com/ollama/ollama-python/commit/717abfbaede1f517133509016421bd409f0b1472) add ci tests/lint - [`877ca40`](https://github.com/ollama/ollama-python/commit/877ca407b65177e33be45ca211b966b89fa4a236) fix lint - [`21578e3`](https://github.com/ollama/ollama-python/commit/21578e3c5ebe244e2d0c64fc7b5d97382526b781) add model to kwargs - [`20db23d`](https://github.com/ollama/ollama-python/commit/20db23d932be603bd078c7aa456c7abf1e52bfb8) async client - [`83295d9`](https://github.com/ollama/ollama-python/commit/83295d9c2d90061f7d0e8ff8ae5da47460e1a6b4) add infill example - [`6f55659`](https://github.com/ollama/ollama-python/commit/6f5565914f1e76536afcd1e21e0b8bb11208e4fe) update README.md - [`dabcca6`](https://github.com/ollama/ollama-python/commit/dabcca6a1f69e888eb055a44876144f04a2e0ffe) type hints - [`9d93f70`](https://github.com/ollama/ollama-python/commit/9d93f70806a09e105f70fa2afed0ce693d32b039) publish workflow - [`47c934c`](https://github.com/ollama/ollama-python/commit/47c934c74b083fa650a0b5246b601f2beccc7ebf) format ### 📊 Changes **13 files changed** (+1654 additions, -481 deletions) <details> <summary>View changed files</summary> ➕ `.github/workflows/publish.yaml` (+24 -0) ➕ `.github/workflows/test.yaml` (+32 -0) ➕ `.gitignore` (+160 -0) 📝 `README.md` (+70 -0) ➕ `examples/simple-fill-in-middle/main.py` (+22 -0) 📝 `ollama/__init__.py` (+27 -1) ➕ `ollama/_client.py` (+458 -0) ➕ `ollama/_types.py` (+53 -0) ➖ `ollama/client.py` (+0 -182) ➖ `ollama/client_test.py` (+0 -292) 📝 `poetry.lock` (+19 -1) 📝 `pyproject.toml` (+10 -5) ➕ `tests/test_client.py` (+779 -0) </details> ### 📄 Description TODO: - [x] type hints - [ ] docstrings - concrete types - [x] message - [x] options - [ ] requests - [ ] responses --- <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:55 -05:00
yindo closed this issue 2026-02-15 16:29:55 -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#315