Repository navigation
Conversation
… concurrent - Check-in all and refresh credits fan out to every account in one pass: the new bulk endpoints return one result per account with the verbatim upstream error, and the console no longer batches or queues requests. - GET /api/events streams the runtime event bus (account / accounts / quota / checkin / refresh / bulk) with sequence replay. Console pages patch rows live and fall back to a 5s poll when the stream is unavailable. - Check-in results carry the real reward credits plus code and HTTP status, and a provider that reports no status stays "unknown" instead of "success". - Quota is persisted as the real upstream snapshot; force-ready overrides only enter the routing pool and the console badges them. Each quota snapshot states its age, and the synthetic inflight demo board plus its login showcase are gone. - Video, audio and file content parts are refused with a real 400 invalid_request instead of being dropped during prompt assembly, and a shared head timeout makes Trae streams fail over when the upstream accepts a request and stays silent.
Select account cards, confirm, and the console authorizes them one at a time: start the provider login, show the authorization page, poll status, and advance automatically. Cancel stops the walkthrough; every row keeps its own state and the verbatim upstream message.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change
Makes the console show what the server is actually doing instead of a locally invented animation, and turns the account batch actions into one guided flow.
/api/events(SSE) streams runtime state changes frominternal/events; the overview in-flight card and account cards subscribe throughuseAccountEventsand drop the mock inflight generator.BatchReloginModal).isSelected/onChangewiring).Scope to review
Verification
go test ./...passes.go build ./...passes.cd frontend && npm run syncrebuiltinternal/webui/static.