Commit Graph

289 Commits

Author SHA1 Message Date
Michael Yang
adcae4ce25 add dependabot 2024-03-27 10:53:32 -07:00
Michael Yang
6b351e54cf
Merge pull request #102 from ollama/deps
update dependencies
2024-03-27 18:37:41 +01:00
Michael Yang
4896b53755 update dependencies 2024-03-27 09:57:40 -07:00
SALES
e28f43f892
Update README.md
cf https://github.com/ollama/ollama-python/pull/45#issuecomment-1942447161
2024-02-16 07:02:48 +11:00
Michael Yang
fcdf5771f5
Merge pull request #58 from ollama/mxyng/python-user-agent
python user agent
2024-02-09 15:32:48 -08:00
Michael Yang
ec8bf88c2b add content-type and accept
mirrors header values set by ollama cli
2024-02-08 11:59:43 -08:00
Michael Yang
8b929ab496 python user agent
add a user agent to ollama-python requests
2024-02-08 11:17:06 -08:00
Michael Yang
eee32dda37
Merge pull request #52 from ollama/mxyng/create-example
create example
2024-02-02 12:20:50 -08:00
Michael Yang
c74dd5835d create example 2024-02-02 12:20:05 -08:00
Michael Yang
cdec2ad99e
Merge pull request #31 from ollama/keepalive
add keep_alive
2024-02-02 08:52:08 -08:00
SALES
70e376368f
Update README.md
Co-authored-by: Michael Esteban <mickel13@gmail.com>
2024-02-02 07:56:27 +11:00
Michael Yang
4a81fa43ee
Merge pull request #50 from ollama/mxyng/base64-encode-image
fix: encode base64 inputs
2024-02-01 12:21:46 -08:00
Michael Yang
98ad0d884e fix: encode base64 inputs 2024-02-01 12:12:14 -08:00
SALES
09ae36a0f9
doc(README) : add prerequisites 2024-01-31 21:13:54 +11:00
Michael Yang
c27eebc158
Merge pull request #41 from rachfop/patch-1
Update README.md
2024-01-30 14:31:17 -08:00
Patrick Rachford
46291d49a7
Update README.md
Fixes back ticks on code block.
2024-01-29 21:49:20 -08:00
Michael Yang
cf3ab807c8
Merge pull request #40 from ollama/mxyng/fix-parse-modelfile
fix parse modelfile
2024-01-29 14:12:27 -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
e201181d4c
Merge pull request #34 from chenxizhang/patch-1
error handling code
2024-01-29 09:54:43 -08:00
chenxizhang
c077b5d685
Update README.md
e.content should be e.error
2024-01-28 11:08:03 +08:00
Michael Yang
fbb6553e03 add keep_alive 2024-01-26 11:33:03 -08:00
Michael Yang
f618a2f448
Merge pull request #32 from ollama/update-actions
update github actions
2024-01-26 11:32:40 -08:00
Michael Yang
354f012168 update github actions 2024-01-26 11:30:36 -08:00
Michael Yang
19e7a3d9ce
Merge pull request #20 from ollama/BruceMacD-pull-example-type
fix pull example typo
2024-01-23 11:56:55 -08:00
Bruce MacDonald
9bfa1d1ecf
fix pull example typo 2024-01-22 19:03:05 -05:00
Michael Yang
2e0b2e15f0
Merge pull request #18 from jmorganca/mxyng/fix-tests
fix unit tests
2024-01-22 15:24:19 -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
Michael Yang
38f68e251d
Merge pull request #19 from jmorganca/mxyng/upgrade-pillow
upgrade pillow
2024-01-22 15:22:16 -08:00
Michael Yang
fa6d8d5a9f upgrade pillow 2024-01-22 15:20:40 -08:00
Michael Yang
373a2e3759
Merge pull request #17 from jmorganca/mxyng/response-error
update response error field to match json response
2024-01-22 09:44:45 -08:00
Michael Yang
27f0dfe0ca update response error field to match json response 2024-01-22 09:41:22 -08:00
Jeffrey Morgan
467fd833f3 Use client variable name for custom client in README.md 2024-01-20 15:34:39 -05:00
Jeffrey Morgan
9c60d1569c Additional docs in README.md 2024-01-20 15:25:47 -05:00
Michael Yang
43d36489b2
Merge pull request #16 from jmorganca/ollama-host
fix: update OLLAMA_HOST parsing to match ollama CLI
2024-01-19 14:09:47 -08:00
Michael Yang
3119736eda s/base_url/host/ 2024-01-19 14:00:49 -08:00
Michael Yang
bae245ea63 update pytest configs 2024-01-19 13:17:42 -08:00
Michael Yang
bf46f31936
Merge pull request #15 from jmorganca/mxyng/examples
examples
2024-01-18 14:01:00 -08:00
Michael Yang
81e253997d examples: add pull progress readme 2024-01-18 11:20:54 -08:00
Michael Yang
89c4b54316 examples: add async chat 2024-01-18 11:20:48 -08:00
Michael Yang
8497ffa3d4 examples: rename directories 2024-01-18 11:20:36 -08:00
Michael Yang
af02cb3fba
Merge pull request #13 from jmorganca/mxyng/pull-progress
add example for pulling with progress bar
2024-01-17 14:40:22 -08:00
Michael Yang
a01b48814a add example for pulling with progress bar 2024-01-17 14:37:11 -08:00
Michael Yang
f00c93eab3
Merge pull request #11 from jmorganca/mxyng/ci-publish-perms
ci: give publish job content perms
2024-01-16 12:52:30 -08:00
Michael Yang
516fb19076 ci: give publish job content perms 2024-01-16 12:35:39 -08:00
Michael Yang
1a60f07e28
Merge pull request #10 from easp/main
Changed 'show' to use POST instead of GET
2024-01-16 12:22:48 -08:00
Erik Sp
27e2ef1161 Changed 'show' to use POST instead of GET 2024-01-14 12:00:20 -08:00
Michael Yang
53b10f7c00
Merge pull request #9 from jmorganca/destination
s/target/destination/
2024-01-12 15:03:31 -08:00
Michael Yang
582839f24f s/target/destination/ 2024-01-12 14:59:32 -08:00