Releases: ollama/ollama-python
Releases · ollama/ollama-python
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
v0.4.2
What's Changed
- Fix message append in example chat-with-history.py to overcome runtime error. by @shahil-yadav in #337
- Make subscriptable methods more consistent with
__contains__
by @jmorganca in #336 - Fix
Client.chat
overloaded type annotations by @pythongirl325 in #344 - Fix image serialization for long image string by @ParthSareen in #348
New Contributors
- @shahil-yadav made their first contribution in #337
- @pythongirl325 made their first contribution in #344
Full Changelog: v0.4.1...v0.4.2
v0.4.1
What's Changed
- Fixed issue where message types would have a
tool_calls
field by membership test even if no tool calls were provided by the response.
Full Changelog: v0.4.0...v0.4.1
v0.4.0
New Features
- Add Pydantic for validation and serialization by @mxyng in #276
- Passing Functions as Tools by @ParthSareen in #321
- No head request for create blob by @mxyng in #277
- Deprecate embeddings from docs in favor of embed by @royjhan in #216
Chores
- Examples refactor by @ParthSareen in #329
- chore: add python3.13 to test matrix by @mxyng in #324
- Update requirements.txt and poetry.lock by @ParthSareen in #315
- update pyproject.toml by @mxyng in #284
- Bump pytest from 8.3.2 to 8.3.3 by @dependabot in #278
- Bump ruff from 0.6.3 to 0.6.5 by @dependabot in #281
- Bump pydantic from 2.9.0 to 2.9.2 by @dependabot in #318
- Bump ruff from 0.6.9 to 0.7.4 by @dependabot in #322
- add basic delete/copy tests by @mxyng in #275
Full Changelog: v0.3.3...v0.4.0
v0.3.3
v0.3.2
What's Changed
- Add URL path to client URL in in Client._parse_host() by @bplunkert in #170
- IPv6 support by @jbinder in #262
- Bump pytest-httpserver from 1.0.12 to 1.1.0 by @dependabot in #252
- Bump pytest-asyncio from 0.23.8 to 0.24.0 by @dependabot in #260
- Bump ruff from 0.5.5 to 0.6.2 by @dependabot in #261
New Contributors
- @bplunkert made their first contribution in #170
- @jbinder made their first contribution in #262
Full Changelog: v0.3.1...v0.3.2
v0.3.1
What's Changed
- update to
llama3.1
by @jmorganca in #237 - fix: tool_calls response parsing by @zeelrupapara in #236
- Update
Message
annotations to support tool calls by @Shulyaka in #227
New Contributors
- @jmorganca made their first contribution in #237
- @zeelrupapara made their first contribution in #236
- @Shulyaka made their first contribution in #227
Full Changelog: v0.3.0...v0.3.1