ollama/middleware
Parth Sareen 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
..
anthropic.go api: implement anthropic api (#13600) 2026-01-09 11:53:36 -08:00
anthropic_test.go api: implement anthropic api (#13600) 2026-01-09 11:53:36 -08:00
openai.go openai: add v1/responses support (#13351) 2025-12-11 15:37:10 -08:00
openai_encoding_format_test.go embeddings: base64 encoding fix (#12715) 2025-10-22 11:27:44 -07:00
openai_test.go preserve tool definition and call JSON ordering (#13525) 2026-01-05 18:03:36 -08:00