NAME

Langertha::Knarr::Proxy::Ollama - Ollama native API format proxy handler

VERSION

version 0.004

DESCRIPTION

Handles the Ollama native API format for Langertha::Knarr.

Routes handled:

  • POST /api/chat — chat (streaming by default unless stream: false)

  • GET /api/tags — model list

  • GET /api/ps — running models (always returns empty list)

Streaming uses NDJSON (newline-delimited JSON). There is no separate end marker — the final chunk includes "done": true. Ollama requests are never passed through to an upstream server (passthrough_format returns undef).

SEE ALSO

SUPPORT

Issues

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

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.