35 lines
1.7 KiB
Markdown
35 lines
1.7 KiB
Markdown
# Promptkit v0.15.0
|
|
|
|
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](../consumers/pkg-promptkit.md#validate-a-concrete-request)
|
|
and [GoDoc](../../engine.go) for usage and the exact contract. Consumers that
|
|
need execution tied to a checked snapshot can use the existing
|
|
[prepared execution workflow](../consumers/pkg-promptkit.md#prepare-now-and-execute-the-same-snapshot-later).
|
|
|
|
## 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.
|
|
|
|
```sh
|
|
go get gitea.maximumdirect.net/eric/promptkit@v0.15.0
|
|
```
|
|
|
|
[COPYRIGHT](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.15.0/COPYRIGHT) | [LICENSE](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.15.0/LICENSE) | [ATTRIBUTION](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.15.0/docs/oss/attribution.md)
|