Commit Graph

25 Commits

Author SHA1 Message Date
Patrick Devine
4dec73e8be add unit tests 2025-01-13 14:53:10 -08:00
ParthSareen
4f9fb88137 Add custom serializer for CreateRequest + tests 2025-01-13 11:03:18 -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
d6528cf731
Fix image serialization for long image string (#348) 2024-11-28 14:12:55 -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
Parth Sareen
f25834217b Pydantic Fixes and Tests (#311)
* Added SubscriptableBaseModel to the Model classes and added Image codec test

---------

Co-authored-by: Parth Sareen <parth@Parths-MacBook-Pro.local>
2024-11-08 10:02:55 -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