Skip to content

feat: map OmniRoute cost/usage/tok/s onto OpenCode payloads - #48

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

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

Conversation

@RaviTharuma

Copy link
Copy Markdown

Map OmniRoute cost, usage, and tokens-per-second onto the OpenCode inference payload.

The fetch interceptor copies gateway tok/s onto usage when present and does not invent tokens / latency. Winning model is taken from X-OmniRoute-Model.

npm test

Closes #47

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

Closes Alph4d0g#47
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.

@RaviTharuma

Copy link
Copy Markdown
Author

Friendly bump — mapping OmniRoute cost/usage/tok/s onto OpenCode payloads is ready for review when you have a moment.

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 OmniRoute cost, usage, and tok/s into OpenCode (not catalog estimates)

2 participants