Skip to content

More billing updates#9554

Merged
lee-at-zoo-corp merged 3 commits intomainfrom
pierremtb/issue9533-more-billing-updates
Jan 7, 2026
Merged

More billing updates#9554
lee-at-zoo-corp merged 3 commits intomainfrom
pierremtb/issue9533-more-billing-updates

Conversation

@pierremtb
Copy link
Copy Markdown
Contributor

Towards #9533

@vercel
Copy link
Copy Markdown

vercel Bot commented Jan 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
modeling-app Ready Ready Preview, Comment Jan 7, 2026 2:31pm

async ({
input,
}: { input: { context: BillingContext; event: BillingUpdateEvent } }) => {
console.log('BillingTransition.Update invoked')
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Remove before merge, just to keep track of when this is called

}

const onClickClearChat = () => {
props.sendBillingUpdate()
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I don't think this one is necessary - it wouldn't drain any credits

const needsReconnect = abruptlyClosed

const onReconnect = () => {
props.sendBillingUpdate()
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Unnecessary as well, the balance would already be loaded and not changed, no?

}

const tryToGetExchanges = () => {
props.sendBillingUpdate()
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This one too

Copy link
Copy Markdown
Collaborator

@lee-at-zoo-corp lee-at-zoo-corp left a comment

Choose a reason for hiding this comment

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

Just those 3

@lee-at-zoo-corp
Copy link
Copy Markdown
Collaborator

Waiting on vercel to test

@pierremtb pierremtb marked this pull request as ready for review January 7, 2026 14:15
@pierremtb pierremtb requested a review from a team as a code owner January 7, 2026 14:15
@pierremtb
Copy link
Copy Markdown
Contributor Author

Haven't finished the analysis on average time for billing update post prompt, but I can add that in a separate PR

@lee-at-zoo-corp lee-at-zoo-corp merged commit 4f414e6 into main Jan 7, 2026
56 of 57 checks passed
@lee-at-zoo-corp lee-at-zoo-corp deleted the pierremtb/issue9533-more-billing-updates branch January 7, 2026 14:27
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.

2 participants