Repository navigation
fix(modal): reserve and show the gateway's size-based create price - #241
Merged
Merged
Conversation
The gateways now bill a larger sandbox by the hour. Franklin looked the price up by GPU type alone, so an 8-core T4 would confirm and reserve $0.05 and sign $0.33.
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.
The gateways now bill a larger sandbox by the hour. ModalCreate looked its price up by GPU type alone, so
cpu: 8on a T4 would confirm and reserve $0.05 and then sign about $0.33. The confirm dialog, the reservation, the usage record and the "charged" line all read this price.Also corrects the tool's cpu and memory defaults, which said 0.125 and 128; the gateway uses 1 and 512.
Verification.
test/local.mjspasses, including a new test of the price boundaries. Not run against a paid sandbox.Release order. Ship before the gateways deploy: BlockRunAI/blockrun#1000, BlockRunAI/blockrun-sol#572, https://github.com/BlockRunAI/blockrun-arc/pull/67, https://github.com/BlockRunAI/blockrun-nano/pull/40.
Not changed: Franklin still caps a create at 300 seconds, which the gateway no longer requires.
🤖 Generated with Claude Code