• # Promptkit v0.15.0

    eric released this 2026-10-12 20:48:09 +00:00 | 72 commits to main since this release

    This release adds error-only validation of a concrete prompt request without
    calling a model. The minimum supported Go version remains 1.26.0.

    Validate A Concrete Request

    Engine.ValidateRequest accepts an ordinary RunRequest and returns nil when
    it passes preparation, or the existing preparation error. Consumers can use it
    for fail-fast checks, including downstream CLI validation commands, without
    receiving a prepared snapshot.

    The method shares Prepare's request conversion and preparation path. Unlike
    requirements inspection, it checks the actual supplied values and bindings.
    Artifact and schema resource I/O still occurs; success does not certify provider
    acceptance or later execution success. A subsequent run prepares independently.
    Validation is optional, not a required step before preparation or execution.

    See the request validation guide
    and GoDoc for usage and the exact contract. Consumers that
    need execution tied to a checked snapshot can use the existing
    prepared execution workflow.

    Compatibility And Upgrade

    No application-code, configuration, or Go-toolchain migration is required from
    v0.14.0. This is an optional API addition; existing inspection, preparation, and
    execution workflows remain available.

    go get gitea.maximumdirect.net/eric/promptkit@v0.15.0
    

    COPYRIGHT | LICENSE | ATTRIBUTION

    Downloads