Parth Sareen and GitHub
5f5ef20131
anthropic: enable websearch ( #14246 )
2026-02-13 19:20:46 -08:00
Parth Sareen and GitHub
5f53fe7884
cmd: ollama launch improvements ( #14099 )
2026-02-05 15:08:17 -08:00
Jeffrey Morgan and GitHub
cefabd79a8
Revert "cmd: claude launch improvements ( #14064 )" ( #14071 )
...
This reverts commit ee25219edd .
2026-02-04 09:10:37 -08:00
Parth Sareen and GitHub
ee25219edd
cmd: claude launch improvements ( #14064 )
2026-02-03 19:33:58 -08:00
Jeffrey Morgan and GitHub
c01608b6a1
x/imagegen: add image edit capabilities ( #13846 )
2026-01-22 20:35:08 -08:00
Jeffrey Morgan and GitHub
634c416645
Add experimental image generation fields to /api/generate ( #13753 )
...
Request fields (experimental):
- width: image width (max 4096)
- height: image height (max 4096)
- steps: denoising steps
- seed: random seed
Response fields (experimental):
- images: base64-encoded generated images
- completed: current step progress
- total: total steps
Other changes:
- Fix lifecycle bug where image models wouldn't unload (refCount issue)
- Fix "headers already written" error on Ctrl+C during streaming
- Add gin middleware for OpenAI /v1/images/generations compatibility
- Update CLI to use /api/generate with progress bar
- Add preload support in interactive mode
2026-01-17 18:27:41 -08:00
Devon Rifkin and GitHub
38eac40d56
openai: tweak v1/responses to conform better ( #13736 )
...
* openai: tweak v1/responses to conform better
* openai: provide better error for image URLs
* lint
2026-01-15 15:46:36 -08:00
Parth Sareen and GitHub
35c3c9e3c2
anthropic: allow non-thinking models when using Anthropic API ( #13692 )
2026-01-12 15:13:26 -08:00
Parth Sareen and GitHub
2b2cda7a2b
api: implement anthropic api ( #13600 )
...
* api: add Anthropic Messages API compatibility layer
Add middleware to support the Anthropic Messages API format at /v1/messages.
This enables tools like Claude Code to work with Ollama local and cloud models through the
Anthropic API interface.
2026-01-09 11:53:36 -08:00
Devon Rifkin and GitHub
e51dead636
preserve tool definition and call JSON ordering ( #13525 )
...
* preserve tool definition and call JSON ordering
This is another iteration of
<https://github.com/ollama/ollama/pull/12518 >, but this time we've
simplified things by relaxing the competing requirements of being
compatible AND order-preserving with templates (vs. renderers). We
maintain backwards compatibility at the cost of not guaranteeing order
for templates. We plan on moving more and more models to renderers,
which have been updated to use these new data types, and additionally
we could add an opt-in way of templates getting an order-preserved list
(e.g., via sibling template vars)
* orderedmap_test: remove testify
2026-01-05 18:03:36 -08:00
Devon Rifkin and GitHub
1eb5e75972
openai: add v1/responses support ( #13351 )
...
Only supporting the stateless part of the API.
Doc updates to come once this is shipped.
Closes : #9659
2025-12-11 15:37:10 -08:00
Jeffrey Morgan and GitHub
565b802a6b
openai: fix tool call ID mapping ( #12988 )
2025-11-06 15:26:25 -08:00
Jeffrey Morgan and GitHub
30fcc71983
api: add omitempty to required tool function parameter type ( #12989 )
2025-11-06 14:08:55 -08:00
nicole pardal and GitHub
e0ead1adee
embeddings: base64 encoding fix ( #12715 )
2025-10-22 11:27:44 -07:00
Devon Rifkin
2c2f4deaa9
openai: refactor to split compat layer and middleware
...
This makes the core openai compat layer independent of the middleware
that adapts it to our particular gin routes
2025-10-05 14:18:56 -07:00