NAME

Langertha::Knarr::Protocol::Ollama - Ollama-compatible wire protocol (/api/chat, /api/tags) for Knarr

VERSION

version 1.001

DESCRIPTION

Implements the Ollama wire format on top of Langertha::Knarr::Protocol. Loaded by default.

  • POST /api/chat, POST /api/generate — chat with NDJSON streaming

  • GET /api/tags — model listing

  • GET /api/version — version probe

Streaming uses newline-delimited JSON (NDJSON) rather than SSE — the Content-Type is application/x-ndjson and each chunk is a single JSON object per line. The final chunk has done: true.

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/Getty/langertha-knarr/issues.

IRC

Join #langertha on irc.perl.org or message Getty directly.

CONTRIBUTING

Contributions are welcome! Please fork the repository and submit a pull request.

AUTHOR

Torsten Raudssus <torsten@raudssus.de> https://raudssus.de/

COPYRIGHT AND LICENSE

This software is copyright (c) 2026 by Torsten Raudssus.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.