Commit Graph

6 Commits

Author SHA1 Message Date
63c08c484c Add delete model endpoint (DELETE /api/delete)
Implement the Ollama DELETE /api/delete endpoint for removing models
from the server.

- Add DeleteRequest type with model field in src/types/delete.rs
- Add OllamaClient::delete() async method in src/lib.rs
- Register delete module in src/types/mod.rs
- Add usage example in examples/delete.rs
2026-02-01 21:14:26 +00:00
f15a2c53d6 Add comprehensive RustDocs for all public API items
- Add crate-level docs with usage examples for lib.rs
- Document OllamaClient, OllamaClientBuilder, and all public methods
- Document error module with OllamaError variants and OllamaResult
- Document types module with endpoint mapping table
- Document all types in common, chat, generate, ps, pull, tags, version
- Add doc examples for builders, constructors, and key types
- All 26 doc-tests pass
2026-01-30 20:16:15 +00:00
b2e7b7134e Adds version method 2025-12-28 13:23:14 +00:00
ac480881e4 Adds pull method and example 2025-12-28 12:18:35 +00:00
d06d69d132 Finishes the generate implementation 2025-12-24 15:58:23 +00:00
8a0c10c6fc Adds tags and ps methods 2025-12-23 22:04:38 +00:00