52 Commits (2c776f07805022221e7640a643777818528d0a27)

Author SHA1 Message Date
minxinyi 1e6eab5c33
server: use slices.Equal to simplify code (#11502) 8 months ago
Michael Yang 0d6e35d3c6
fix: stream accumulator exits early (#10593) 11 months ago
Michael Yang 6e9a7a2568
lint: enable usetesting, disable tenv (#10594) 11 months ago
Jeffrey Morgan 392de84031
api: remove unused RetrieveModelResponse type (#10603) 11 months ago
Devon Rifkin 4090aca97b
server: send 405 instead of 404 for unallowed methods (#10275) 11 months ago
Devon Rifkin ad3c7c9bda
strip out thinking tags in message history for qwen3 & r1 (#10490) 11 months ago
Blake Mizerany 3519dd1c6e
server/internal/client/ollama: hold DiskCache on Registry (#9463) 1 year ago
Blake Mizerany 2412adf42b
server/internal: replace model delete API with new registry handler. (#9347) 1 year ago
Michael Yang 58245413f4
next ollama runner (#7913) 1 year ago
Patrick Devine 86a622cbdc
Update the /api/create endpoint to use JSON (#7935) 1 year ago
Blake Mizerany b1fd7fef86
server: more support for mixed-case model names (#8017) 1 year ago
Blake Mizerany 4b8a2e341a
server: allow mixed-case model names on push, pull, cp, and create (#7676) 1 year ago
Patrick Devine c7cb0f0602
image processing for llama3.2 (#6963) 1 year ago
Alex Mavrogiannis f40bb398f6
Stop model before deletion if loaded (fixed #6957) (#7050) 2 years ago
Jeffrey Morgan 47fa0839b9
server: clean up route names for consistency (#6524) 2 years ago
royjhan 8b00a415ab
Load Embedding Model on Empty Input (#6325) 2 years ago
Michael Yang b732beba6a lint 2 years ago
Michael Yang 1954ec5917 uint64 2 years ago
Jeffrey Morgan 7ac6d462ec
server: return empty slice on empty `/api/embed` request (#5713) 2 years ago
royjhan b9f5e16c80
Introduce `/api/embed` endpoint supporting batch embedding (#5127) 2 years ago
royjhan 996bb1b85e
OpenAI: /v1/models and /v1/models/{model} compatibility (#5007) 2 years ago
royjhan fedf71635e
Extend api/show and ollama show to return more model info (#4881) 2 years ago
Patrick Devine 94618b2365
add OLLAMA_MODELS to envconfig (#5029) 2 years ago
Michael Yang 030e765e76 fix create model when template detection errors 2 years ago
royjhan 4bf1da4944
Separate ListResponse and ModelResponse for api/tags vs api/ps (#4842) 2 years ago
Michael Yang d61ef8b954 update create handler to use model.Name 2 years ago
Michael Yang 8ce4032e72 more lint 2 years ago
Michael Yang e40145a39d lint 2 years ago
Patrick Devine 4cc3be3035
Move envconfig and consolidate env vars (#4608) 2 years ago
Patrick Devine ccdf0b2a44
Move the parser back + handle utf16 files (#4533) 2 years ago
Michael Yang 85a57006d1 check if name exists before create/pull/copy 2 years ago
Ryo Machida 798b107f19
Fixed the API endpoint /api/tags when the model list is empty. (#4424) 2 years ago
Michael Yang a7248f6ea8 update tests 2 years ago
Michael Yang 119589fcb3 rename parser to model/file 2 years ago
Michael Yang c0a00f68ae refactor modelfile parser 2 years ago
Michael Yang 9502e5661f cgo quantize 2 years ago
Daniel Hiltgen 58d95cc9bd Switch back to subprocessing for llama.cpp 2 years ago
Patrick Devine 5a5efee46b
Add gemma safetensors conversion (#3250) 2 years ago
Patrick Devine 1b272d5bcd
change `github.com/jmorganca/ollama` to `github.com/ollama/ollama` (#3347) 2 years ago
Jeffrey Morgan fc8c044584
add allowed host middleware and remove `workDir` middleware (#3018) 2 years ago
Jeffrey Morgan 48a273f80b
Fix issues with templating prompt in chat mode (#2460) 2 years ago
Michael Yang e49dc9f3d8 fix tests 2 years ago
Bruce MacDonald 0632dff3f8
trim chat prompt based on llm context size (#1963) 2 years ago
Patrick Devine eef50accb4
Fix show parameters (#2017) 2 years ago
Michael Yang 2bb2bdd5d4 fix lint 2 years ago
Michael Yang acfc376efd add .golangci.yaml 2 years ago
Michael Yang 63aac0edc5 fix(test): use real version string for comparison 2 years ago
Patrick Devine 3948c6ea06
add magic header for unit tests (#1558) 2 years ago
Patrick Devine 86b0dd4b16
add API create/copy handlers (#1541) 2 years ago
Patrick Devine 0174665d0e
add API tests for list handler (#1535) 2 years ago