ParthSareen
2b77cd1ec1
Add hatch test matrix for Python 3.10-3.13 and legacy tests for 3.8-3.9
...
- Configure hatch test matrix for Python 3.10-3.13 (coverage requires 3.10+)
- Add separate test-legacy workflow job for Python 3.8 and 3.9
- Tests verified passing on all versions locally
2026-01-09 23:21:07 -08:00
dependabot[bot]
60e7b2f9ce
build(deps): bump actions/checkout from 5 to 6 ( #602 )
...
test / test (push) Has been cancelled
test / lint (push) Has been cancelled
Bumps [actions/checkout](https://github.com/actions/checkout ) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-29 12:03:13 -08:00
Parth Sareen
d1d704050b
client: expose resource cleanup methods ( #444 )
test / test (push) Has been cancelled
test / lint (push) Has been cancelled
2025-12-10 17:09:19 -08:00
Eden Chan
115792583e
readme: add cloud models usage and examples ( #595 )
test / test (push) Has been cancelled
test / lint (push) Has been cancelled
2025-11-13 15:03:58 -08:00
Parth Sareen
0008226fda
client/types: add logprobs support ( #601 )
test / test (push) Waiting to run
test / lint (push) Waiting to run
2025-11-12 18:08:42 -08:00
Parth Sareen
9ddd5f0182
examples: fix model web search ( #589 )
test / test (push) Has been cancelled
test / lint (push) Has been cancelled
2025-09-24 15:53:51 -07:00
Parth Sareen
d967f048d9
examples: gpt oss browser tool ( #588 )
...
---------
Co-authored-by: nicole pardal <nicolepardall@gmail.com>
2025-09-24 15:40:53 -07:00
Parth Sareen
ab49a669cd
examples: add mcp server for web_search web_crawl ( #585 )
test / test (push) Waiting to run
test / lint (push) Waiting to run
2025-09-23 21:54:43 -07:00
nicole pardal
16f344f635
client/types: update web search and fetch API ( #584 )
...
test / test (push) Waiting to run
test / lint (push) Waiting to run
---------
Co-authored-by: ParthSareen <parth.sareen@ollama.com>
2025-09-23 13:27:36 -07:00
Parth Sareen
d0f71bc8b8
client: load OLLAMA_API_KEY on init ( #583 )
test / test (push) Waiting to run
test / lint (push) Waiting to run
2025-09-22 20:28:40 -07:00
Parth Sareen
b22c5fdabb
init: fix export for web_search ( #581 )
test / test (push) Has been cancelled
test / lint (push) Has been cancelled
2025-09-19 10:06:30 -07:00
Parth Sareen
4d0b81b37a
client: add web search and web crawl capabilities ( #578 )
test / test (push) Waiting to run
test / lint (push) Waiting to run
2025-09-18 16:51:20 -07:00
Michael Yang
a1d04f04f2
feat: add dimensions to embed request ( #574 )
test / test (push) Has been cancelled
test / lint (push) Has been cancelled
2025-09-15 17:23:03 -07:00
dependabot[bot]
8af6cac86b
build(deps): bump actions/setup-python from 5 to 6 ( #571 )
...
test / test (push) Has been cancelled
test / lint (push) Has been cancelled
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 5 to 6.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-05 15:40:16 -07:00
Mark Ward
9f41447f20
examples: make gpt-oss resilient for failed tool calls ( #569 )
test / test (push) Has been cancelled
test / lint (push) Has been cancelled
2025-09-02 13:58:36 -07:00
Parth Sareen
da79e987f0
examples: fix gpt-oss-tools-stream for adding toolcalls ( #568 )
test / test (push) Has been cancelled
test / lint (push) Has been cancelled
2025-08-21 13:44:59 -07:00
Bryon Tjanaka
c8392d6524
Fix link for thinking-levels.py ( #567 )
...
test / test (push) Has been cancelled
test / lint (push) Has been cancelled
Resolves #554
2025-08-20 00:19:07 -07:00
Parth Sareen
07ab287cdf
examples/gpt-oss: fix examples ( #566 )
test / test (push) Waiting to run
test / lint (push) Waiting to run
2025-08-19 11:08:57 -07:00
dependabot[bot]
b0f6b99ca6
build(deps): bump actions/checkout from 4 to 5 ( #559 )
...
test / test (push) Has been cancelled
test / lint (push) Has been cancelled
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-12 14:40:10 -07:00
Parth Sareen
c87604c66f
examples: add gpt-oss browser example ( #558 )
test / test (push) Has been cancelled
test / lint (push) Has been cancelled
2025-08-11 16:59:26 -07:00
Devon Rifkin
53ff3cd025
Merge pull request #553 from ollama/drifkin/thinking-levels
...
test / test (push) Has been cancelled
test / lint (push) Has been cancelled
add support for 'high'/'medium'/'low' think values
2025-08-07 14:42:12 -07:00
Devon Rifkin
aa4b476f26
add support for 'high'/'medium'/'low' think values
...
currently only supported on gpt-oss, but as more models come out with
support like this we'll likely relax the particular values that can be
provided
2025-08-07 14:39:36 -07:00
Parth Sareen
34e98bd237
types: relax type for tools ( #550 )
test / test (push) Has been cancelled
test / lint (push) Has been cancelled
2025-08-05 15:59:56 -07:00
Parth Sareen
dad9e1ca3a
examples: add gpt-oss tools ( #549 )
2025-08-05 15:58:55 -07:00
Parth Sareen
fe91357d4b
examples: update to use gemma3 ( #543 )
test / test (push) Has been cancelled
test / lint (push) Has been cancelled
2025-07-22 16:27:16 -07:00
Ian
d7978cb234
pyproject.toml: add license metadata to package ( #526 )
2025-07-22 11:44:11 -07:00
Parth Sareen
b23d79d8b5
types: add context_length to ProcessResponse ( #538 )
test / test (push) Has been cancelled
test / lint (push) Has been cancelled
2025-07-09 15:40:00 -07:00
Parth Sareen
33488eee06
types/examples: add tool_name to message and examples ( #537 )
2025-07-09 14:23:33 -07:00
Devon Rifkin
63ca747622
Merge pull request #525 from hwittenborn/main
...
test / test (push) Has been cancelled
test / lint (push) Has been cancelled
Remove unused `messages` variable from `thinking-generate` example
2025-05-30 16:14:02 -07:00
Hunter Wittenborn
4c11d507b0
Remove unused messages variable from thinking-generate example
2025-05-30 16:58:16 -05:00
Devon Rifkin
ce6846e4fc
Merge pull request #524 from ollama/drifkin/thinking-support
...
test / test (push) Waiting to run
test / lint (push) Waiting to run
fully add thinking support to `generate()`
2025-05-30 14:32:05 -07:00
Devon Rifkin
e0253ab627
fully add thinking support to generate()
...
https://github.com/ollama/ollama-python/pull/521 missed some calls
2025-05-30 13:41:23 -07:00
Devon Rifkin
756bd8f31a
Merge pull request #521 from ollama/drifkin/thinking-support
...
test / test (push) Waiting to run
test / lint (push) Waiting to run
add support for thinking
2025-05-29 16:02:56 -07:00
Devon Rifkin
f8c6cd5131
add thinking example to example index
2025-05-27 11:36:45 -07:00
Devon Rifkin
eaad6df5ef
add support for thinking
...
To support https://github.com/ollama/ollama/pull/10584
2025-05-27 00:35:28 -07:00
JRinaldi
5d7c63fae1
types: add capabilities to show response. ( #511 )
test / test (push) Has been cancelled
test / lint (push) Has been cancelled
2025-05-14 19:27:48 -07:00
Michael Yang
5ae5f816bb
Merge pull request #445 from ollama/mxyng/hatch
...
test / test (push) Has been cancelled
test / lint (push) Has been cancelled
use hatch instead of poetry
2025-05-06 11:03:28 -07:00
Parth Sareen
65f94b4fba
types: allow items and defs for tools ( #501 )
test / test (3.10) (push) Has been cancelled
test / test (3.11) (push) Has been cancelled
test / test (3.12) (push) Has been cancelled
test / test (3.13) (push) Has been cancelled
test / test (3.8) (push) Has been cancelled
test / test (3.9) (push) Has been cancelled
test / lint (push) Has been cancelled
2025-04-16 13:33:51 -07:00
Parth Sareen
e33ceb7188
poetry: update dependencies ( #505 )
2025-04-16 13:33:40 -07:00
Parth Sareen
8ac9f4da76
types: allow single or multiple types tool property ( #499 )
test / test (3.10) (push) Has been cancelled
test / test (3.11) (push) Has been cancelled
test / test (3.12) (push) Has been cancelled
test / test (3.13) (push) Has been cancelled
test / test (3.8) (push) Has been cancelled
test / test (3.9) (push) Has been cancelled
test / lint (push) Has been cancelled
2025-04-08 15:05:54 -07:00
Parth Sareen
1b3406887d
types: relax enum type for tool ( #498 )
2025-04-08 15:05:46 -07:00
Paul.DX
3eaa83781d
docs: Update example links ( #461 )
...
test / test (3.10) (push) Has been cancelled
test / test (3.11) (push) Has been cancelled
test / test (3.12) (push) Has been cancelled
test / test (3.13) (push) Has been cancelled
test / test (3.8) (push) Has been cancelled
test / test (3.9) (push) Has been cancelled
test / lint (push) Has been cancelled
Modify the names and links of the Multimodal with Images
2025-03-31 16:58:04 -07:00
rylativity
07eec6d517
types: enable passing messages with arbitrary role ( #462 )
...
test / test (3.10) (push) Has been cancelled
test / test (3.11) (push) Has been cancelled
test / test (3.12) (push) Has been cancelled
test / test (3.13) (push) Has been cancelled
test / test (3.8) (push) Has been cancelled
test / test (3.9) (push) Has been cancelled
test / lint (push) Has been cancelled
---------
Co-authored-by: Ryan Stewart <ryanstewart@Ryans-MacBook-Pro.local>
Co-authored-by: Gabe Goodhart <gabe.l.hart@gmail.com>
2025-03-20 13:46:40 -07:00
Parth Sareen
6b235b2d60
add SECURITY.md ( #479 )
2025-03-20 13:25:36 -07:00
ddbit
aec125c773
examples: update tools.py to handle type casting from tool arguments ( #443 )
...
---------
Co-authored-by: Parth Sareen <parth.sareen@ollama.com>
2025-02-14 09:50:47 -08:00
Parth Sareen
8d0d0e483d
client: add support for passing in Image type to generate ( #408 )
2025-02-14 09:44:43 -08:00
Parth Sareen
0561f42701
chore: add tests for checking SHA in blob request ( #425 )
2025-01-21 10:20:11 -08:00
dependabot[bot]
7e64093df0
bump httpx from 0.27.2 to 0.28.1 ( #365 )
...
bump httpx from 0.27.2 to 0.28.1
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: ParthSareen <parth.sareen@ollama.com>
2025-01-20 11:03:44 -08:00
Aarni Koskela
f7e23ddb93
choe: run tests on main ( #422 )
...
* Make tests actually run on `main` (and don't ignore example/readme changes)
2025-01-17 09:48:47 -08:00
Parth Sareen
967fd657f1
client: improve error messaging on connection failure ( #398 )
...
*iImprove error messaging on connection failure
2025-01-16 13:55:17 -08:00