Skip to content

fix(session): persist turn cache token counts - #3661

Merged
wsp1911 merged 1 commit into
GCWing:mainfrom
wsp1911:dev-omen
Nov 1, 2026
Merged

wsp1911 merged 1 commit into
GCWing:mainfrom
wsp1911:dev-omen

Conversation

@wsp1911

@wsp1911 wsp1911 commented Nov 1, 2026

Copy link
Copy Markdown
Collaborator

Preserve provider-reported cache-hit tokens in the persisted dialog turn DTO so flow-chat turn metrics survive application restarts.

  • Add optional camelCase and legacy snake_case deserialization support
  • Keep older turns without cache telemetry backward compatible
  • Cover current and legacy payload round trips with focused tests

Preserve provider-reported cache-hit tokens in the persisted dialog turn DTO so flow-chat turn metrics survive application restarts.

- Add optional camelCase and legacy snake_case deserialization support
- Keep older turns without cache telemetry backward compatible
- Cover current and legacy payload round trips with focused tests
@wsp1911
wsp1911 merged commit 3b649c6 into GCWing:main Nov 1, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant