Skip to content

feat: map CLIProxyAPI usage and tok/s onto OpenCode payloads - #6

Open
RaviTharuma wants to merge 1 commit into
yourcasualdev:mainfrom
RaviTharuma:feat/gateway-telemetry
Open

feat: map CLIProxyAPI usage and tok/s onto OpenCode payloads#6
RaviTharuma wants to merge 1 commit into
yourcasualdev:mainfrom
RaviTharuma:feat/gateway-telemetry

Conversation

@RaviTharuma

Copy link
Copy Markdown

Map CLIProxyAPI gateway usage and tokens-per-second onto the OpenCode inference payload.

The fetch interceptor copies usage.tokens_per_second when the gateway sent it and does not invent tok/s from tokens / latency.

bun test ./src

Closes #5

Copy gateway tokens_per_second onto usage. Never invent tok/s from latency.

Closes yourcasualdev#5
Copilot AI lite review requested due to automatic review settings September 3, 2026 20:13
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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.

Pass CLIProxyAPI usage and tok/s into OpenCode session telemetry

2 participants