37 lines
1.8 KiB
Markdown
37 lines
1.8 KiB
Markdown
# 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](../../types.go), [public error GoDoc](../../engine.go), and
|
|
[error-handling guide](../consumers/pkg-promptkit.md#handle-errors).
|
|
|
|
## 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.
|
|
|
|
```sh
|
|
go get go.maximumdirect.net/promptkit@v0.23.3
|
|
```
|
|
|
|
[COPYRIGHT](https://forge.maximumdirect.net/base-layer/promptkit/src/tag/v0.23.3/COPYRIGHT) | [LICENSE](https://forge.maximumdirect.net/base-layer/promptkit/src/tag/v0.23.3/LICENSE) | [ATTRIBUTION](https://forge.maximumdirect.net/base-layer/promptkit/src/tag/v0.23.3/docs/oss/attribution.md)
|