Releases: ollama/ollama-python
v0.5.2
What's Changed
-
types/examples: add tool_name to message and examples by @ParthSareen in #537
-
types: add
context_length
to ProcessResponse by @ParthSareen in #538 -
types: relax type for tools by @ParthSareen in #550
-
add license metadata to package by @ViViDboarder in #526
New Contributors
- @hwittenborn made their first contribution in #525
- @ViViDboarder made their first contribution in #526
Full Changelog: v0.5.1...v0.5.2
v0.5.1
v0.5.0
v0.4.9
What's Changed
- use hatch instead of poetry by @mxyng in #445
- add capabilities to show response. by @jayrinaldime in #511
New Contributors
- @jayrinaldime made their first contribution in #511
Full Changelog: v0.4.8...v0.4.9
v0.4.8
What's Changed
- client: add support for passing in Image type to generate by @ParthSareen in #408
- types: relax enum type for tool by @ParthSareen in #498
- types: allow single or multiple types tool property by @ParthSareen in #499
- types: enable passing messages with arbitrary role by @rylativity in #462
- types: allow items and defs for tools by @ParthSareen in #501
- examples: update tools.py to nicely manage numbers instead of concat strings by @ddbit in #443
- examples: fix example links by @ansent788 in #461
- chore: add SECURITY.md by @ParthSareen in #479
- poetry: update dependencies by @ParthSareen in #505
New Contributors
- @ddbit made their first contribution in #443
- @rylativity made their first contribution in #462
- @ansent788 made their first contribution in #461
Full Changelog: v0.4.7...v0.4.8
v0.4.7
What's Changed
-
client: remove sha256 as it's already available in the digest by @samhita-alla in #420
-
client: improve error messaging on connection failure by @ParthSareen in #398
-
chore: bump httpx from 0.27.2 to 0.28.1 by @dependabot in #365
-
examples: fix create examples by @jmorganca in #421
-
examples: update create example by @ParthSareen in #418
-
chore: add tests for checking sha in blob request by @ParthSareen in #425
New Contributors
- @samhita-alla made their first contribution in #420
Full Changelog: v0.4.6...v0.4.7
v0.4.6
v0.4.5
What's Changed
- examples: remove extra print by @ParthSareen in #364
- examples: use type hinting generics in standard collections. by @fujitatomoya in #389
- bugfix: export Image model by @akx in #384
- bugfix: fix passing Image type in messages for chat @ParthSareen in #390
New Contributors
- @akx made their first contribution in #384
- @fujitatomoya made their first contribution in #389
Full Changelog: v0.4.4...v0.4.5
v0.4.4
What's Changed
- fix validation of
format
to allow empty strings as it did previously by @jmorganca in #369
Full Changelog: v0.4.3...v0.4.4
v0.4.3
What's Changed
- Improve tool example to showcase chatting by @ParthSareen in #352
- Bump pytest from 8.3.3 to 8.3.4 by @dependabot in #358
- Structured outputs support with examples by @ParthSareen in #354
Full Changelog: v0.4.2...v0.4.3