NAME

Langertha::Knarr::Proxy::Anthropic - Anthropic Messages API format proxy handler

VERSION

version 0.004

DESCRIPTION

Handles the Anthropic Messages API format for Langertha::Knarr.

Routes handled:

  • POST /v1/messages — chat completions (streaming and non-streaming)

The Anthropic format extracts an optional system field from the request body and prepends it to the messages list as a system role message. Streaming uses SSE with event: message_stop as the end marker. Passthrough format name is anthropic, forwarding to https://api.anthropic.com when passthrough is enabled.

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.