• eric released this 2026-11-19 14:31:12 +00:00 | 0 commits to main since this release

    Promptkit v0.23.3

    This patch release corrects timeout attribution and preserves error identities
    in the built-in OpenAI-compatible HTTP client.

    Fixed

    • Operation budgets expiring during an in-flight HTTP generation request now
      match both ErrOperationTimeout and context.DeadlineExceeded. Terminal
      observations report a deadline failure instead of a transport failure.
    • HTTP failures carrying custom caller cancellation or deadline causes retain
      both the custom cause and the standard context identity. Unrelated transport
      failures are not relabeled solely because a context has been canceled.
    • Cancellation while reading a successful response body preserves the original
      reader error alongside the context identity, without exposing its diagnostic
      text through the redacted error message.

    Regression coverage exercises Run and RunPrepared, public error identities,
    and attempt and terminal classifications. See the request and timeout
    contracts
    , public error GoDoc, and
    error-handling guide.

    Compatibility And Upgrade

    No configuration or request API migration is required from v0.23.2. Consumers
    using errors.Is for cancellation or deadline handling now receive the
    correct identities on the affected paths; applications continue to own their
    status mapping and diagnostic presentation.

    The Go consumer minimum remains 1.27.0, and dependency versions are unchanged.

    go get go.maximumdirect.net/promptkit@v0.23.3
    

    COPYRIGHT | LICENSE | ATTRIBUTION

    Downloads