Commit Graph

39 Commits

Author SHA1 Message Date
Jeffrey Morgan dbccf192ac Add image generation support (#616)
test / test (push) Has been cancelled
test / lint (push) Has been cancelled
2026-01-23 00:33:52 -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
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
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 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
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 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
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 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
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
Aarni Koskela 89e719ab92 chore: bump ruff and ensure imports are sorted (#385)
* chore: upgrade ruff & sort imports
2025-01-14 16:34:16 -08:00
Patrick Devine fc8585eabd feed ruff 2025-01-13 16:42:31 -08:00
Patrick Devine f5c8ee0a3e fix async client 2025-01-13 15:54:16 -08:00
Patrick Devine a0388b2e32 unhide create_blob 2025-01-13 15:22:26 -08:00
ParthSareen f718dab45d Make ruff happy 2025-01-13 15:01:02 -08:00
Patrick Devine 4dec73e8be add unit tests 2025-01-13 14:53:10 -08:00
Parth Sareen ee349ecc6d bugfix: fix passing Image type in messages for chat (#390)
---------

Co-authored-by: Aarni Koskela <akx@iki.fi>
2024-12-29 14:43:07 -08:00
Parth Sareen 4b10dee2b2 Structured outputs support with examples (#354) 2024-12-05 15:40:49 -08:00
Parth Sareen 139c89e833 Passing Functions as Tools (#321)
* Functions can now be passed as tools
2024-11-20 15:49:50 -08:00
Michael Yang dc38fe4675 Merge pull request #277 from ollama/mxyng/no-head
no head request for create blob
2024-11-08 11:20:43 -08:00
Parth Sareen 72052188c3 Fixing empty header + ensuring security (#313)
* Fixing empty header + ensuring security
2024-11-08 10:03:14 -08:00
Michael Yang b0da4ff2d8 no head
this request is unnecessary since the POST will short circuit the
request if the blob already exists
2024-11-08 09:59:04 -08:00
Michael Yang 0bbc246007 pydantic types 2024-11-08 09:59:03 -08:00
Michael Yang 61c8d0d440 add basic delete/copy tests (#275) 2024-09-18 12:35:27 -07:00
royjhan 33c4b61ff9 add insert support to generate endpoint (#215)
* add suffix

* update fill-in-the-middle example

* keep example

* lint

* variables
2024-07-18 11:04:17 -07:00
Josh 359c63daa7 integrate tool calls (#213) 2024-07-17 09:40:49 -07:00
Michael Yang 309007da80 add quantization to create requests 2024-05-10 14:10:37 -07:00
Michael Yang cdec2ad99e Merge pull request #31 from ollama/keepalive
add keep_alive
2024-02-02 08:52:08 -08:00
Michael Yang 8e5d431d0d fix parse modelfile
- do not add newlines while parsing
- do not add leading whitespace
2024-01-29 13:42:34 -08:00
Michael Yang fbb6553e03 add keep_alive 2024-01-26 11:33:03 -08:00
Michael Yang 5c1df78b7d remove unused import 2024-01-22 15:23:23 -08:00
Michael Yang c8f7d9b7d2 fix tests 2024-01-22 15:23:23 -08:00
Michael Yang 21aad8447c fix: update async stream tests 2024-01-22 15:23:23 -08:00
Bruce MacDonald e3733a235d fix tests 2024-01-12 11:03:40 -05:00
Michael Yang de61864358 fix api calls 2023-12-21 17:00:30 -08:00
Michael Yang 47c934c74b format 2023-12-21 14:21:02 -08:00
Michael Yang 20db23d932 async client 2023-12-21 09:17:07 -08:00