Skip to content

PtcLlmHttp 0.1.0

Latest

Choose a tag to compare

@andreasronge andreasronge released this 21 Aug 12:45
· 12 commits to main since this release
v0.1.0
260fb4e

The first published release of PtcLlmHttp: a bounded BEAM-native HTTP/1 transport and OpenAI-compatible wire-codec library.

Pre-alpha: the public API is usable, but breaking changes are expected throughout the 0.x series. Consumers should pin an exact version.

Highlights

  • One-attempt HTTP/1.1 transport with bounded DNS, TCP/TLS, framing, request, and response handling.
  • Synchronous text-delta streaming with natural callback backpressure, early halt, terminal usage, and deterministic cleanup.
  • OpenAI-compatible non-streaming text, function tools, tool replay, and strict structured output.
  • Fail-stop physical connection admission with bounded concurrency and cleanup across success, timeout, cancellation, callback failure, and caller death.
  • Closed typed error contracts and redacted public values.
  • Minimal runtime dependency set: Jason only.

Requirements

  • Elixir ~> 1.20
  • Erlang/OTP 29 or later
{:ptc_llm_http, "== 0.1.0"}

Links