Skip to content

Conversation

@ibetitsmike
Copy link
Contributor

Summary

  • Adds a new oRPC endpoint (muxGateway.getAccountStatus) that proxies GET /api/v1/balance from Mux Gateway.
  • Surfaces balance + concurrent-request limit:
    • Onboarding: shown after successful login (replaces the "Re-login" state)
    • Title bar: new Mux Gateway icon button (left of settings) opens a popover with balance + refresh
    • Settings → Providers → Mux Gateway: new Account section with balance, concurrency, and refresh

Validation

  • make fmt
  • make typecheck
  • make static-check

Generated with mux • Model: openai:gpt-5.2 • Thinking: xhigh • Cost: $3.70

@github-actions github-actions bot added the enhancement New feature or functionality label Jan 29, 2026
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: bc2c2317f4

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@ibetitsmike
Copy link
Contributor Author

@codex review

Fixed the Mux Gateway account status auto-refresh loop in Providers settings by avoiding auto-retries after a failed fetch (error now blocks the lazy auto-fetch until the user refreshes manually).

@chatgpt-codex-connector
Copy link

Codex Review: Didn't find any major issues. Breezy!

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@ibetitsmike ibetitsmike force-pushed the mike/mux-gateway-balance-ui branch 2 times, most recently from 0bdfe64 to 5232047 Compare January 29, 2026 14:58
Expose /api/v1/balance via oRPC and display balance + concurrency in onboarding, title bar, and provider settings.

---

_Generated with `mux` • Model: `openai:gpt-5.2` • Thinking: `xhigh` • Cost: `$3.70`_

<!-- mux-attribution: model=openai:gpt-5.2 thinking=xhigh costs=3.70 -->
@ibetitsmike ibetitsmike force-pushed the mike/mux-gateway-balance-ui branch from 5232047 to c3464ba Compare January 29, 2026 15:50
@ibetitsmike ibetitsmike merged commit 3e1543d into main Jan 29, 2026
21 of 22 checks passed
@ibetitsmike ibetitsmike deleted the mike/mux-gateway-balance-ui branch January 29, 2026 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant