NAME

Langertha::Knarr::Protocol::OpenAI - OpenAI-compatible wire protocol (chat/completions, models) for Knarr

VERSION

version 1.001

DESCRIPTION

Implements the OpenAI Chat Completions wire format on top of Langertha::Knarr::Protocol. Loaded by default in every Langertha::Knarr instance.

  • POST /v1/chat/completions — sync and SSE streaming

  • GET /v1/models — model listing

Streaming uses the standard SSE chunk format with data: [DONE] as the terminator. Tool calls and tool choice pass through unchanged via the request's raw hash.

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.