Skip to content

v0.11.1

Choose a tag to compare

@github-actions github-actions released this 18 Jul 03:42
f9ea26d

Hydaelyn v0.11.1

Status: Released

Released on 2026-07-18.

Cached input token usage

Provider usage now reports cached input tokens separately so applications can
measure prompt-cache effectiveness without changing total input accounting:

  • provider.Usage.CachedInputTokens exposes the provider-reported cached
    subset of input tokens;
  • provider.Usage.Add accumulates cached input tokens across streamed usage;
  • OpenAI Chat Completions reads
    prompt_tokens_details.cached_tokens;
  • OpenAI Responses reads input_tokens_details.cached_tokens.

The change is backward-compatible: the new field is additive and remains zero
when a provider does not report cache usage.

Upgrade

go get github.com/Viking602/go-hydaelyn@v0.11.1
go install github.com/Viking602/go-hydaelyn/cmd/hydaelyn@v0.11.1

What's Changed

Full Changelog: v0.11.0...v0.11.1