Skip to content

fix(registry): increase estimatedCostUsd cap to 1 Trillion - #81

Open
waterlemonnn wants to merge 1 commit into
AgentPostmortem:mainfrom
waterlemonnn:fix/51-cost-cap
Open

fix(registry): increase estimatedCostUsd cap to 1 Trillion#81
waterlemonnn wants to merge 1 commit into
AgentPostmortem:mainfrom
waterlemonnn:fix/51-cost-cap

Conversation

@waterlemonnn

Copy link
Copy Markdown
Contributor

What

Increases the max Zod schema limit for estimatedCostUsd from $100M to $1T.
Also refactors the display logic to use the shared formatUsd utility, which correctly formats billion-dollar amounts. Adds build-time fallbacks for Resend.

Closes #51

Increases the max Zod schema limit for estimatedCostUsd from  to .
Also refactors the display logic to use the shared formatUsd utility, which
correctly formats billion-dollar amounts. Adds build-time fallbacks for Resend.

Closes AgentPostmortem#51
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.

estimatedCostUsd is capped at $100M, which is below cases already in the registry

1 participant