Skip to content

fix(apiproxy): correct snapshot parsing and enable usage reporting for streamed chat completions#36

Merged
robflowk merged 1 commit into
mainfrom
feature/token-counting-chat-completions
Mar 9, 2026
Merged

fix(apiproxy): correct snapshot parsing and enable usage reporting for streamed chat completions#36
robflowk merged 1 commit into
mainfrom
feature/token-counting-chat-completions

Conversation

@robflowk

@robflowk robflowk commented Mar 9, 2026

Copy link
Copy Markdown
Contributor
  • split model snapshot suffix (-YYYY-MM-DD) into model + snapshot_version
  • inject stream_options.include_usage=true for streaming /chat/completions when missing
  • add regression tests for snapshot splitting, stream usage patching, and chat usage token persistence
  • remove temporary chat-specific debug instrumentation

…r streamed chat completions

  - split model snapshot suffix (-YYYY-MM-DD) into model + snapshot_version
  - inject stream_options.include_usage=true for streaming /chat/completions when missing
  - add regression tests for snapshot splitting, stream usage patching, and chat usage token persistence
  - remove temporary chat-specific debug instrumentation
@robflowk robflowk requested a review from eeedean March 9, 2026 15:39
@robflowk robflowk merged commit aa49272 into main Mar 9, 2026
1 check 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