feat: mention BYOK in CLI create flow and credits error card - #942
Open
Aditya-thesys wants to merge 2 commits into
Open
feat: mention BYOK in CLI create flow and credits error card#942Aditya-thesys wants to merge 2 commits into
Aditya-thesys wants to merge 2 commits into
Conversation
- create: cloud template option now reads "free hosted models or bring your own key"; --help templates blurb notes BYOK works on any plan - devtools: out-of-credits card offers BYOK alongside Purchase Credits, with an "Add your own key" button linking to the console BYOK page
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Part of the BYOK free-tier launch: surface BYOK in the two places a new CLI user decides how models get paid for.
Changes
CLI (
@openuidev/cli)openui-cloudchoice in the interactive template picker now reads: "OpenUI Cloud — free hosted models or bring your own key, managed history, tools & artifacts; fastest setup (recommended)"create --helptemplates blurb adds: "Bring your own OpenAI/Anthropic/Google key (BYOK) on any plan, including the free tier."Devtools (
@openuidev/devtools)ERR_BILLING_THRESHOLD_EXCEEDED) now offers BYOK as the alternative to purchasing credits, with a secondary Add your own key button linking to https://console.thesys.dev/byokQuotaErrorInfogains ashowByokCtaflag; the rate-limit card (ERR_QUOTA_EXCEEDED) keeps it off for now (follow-up)Screenshot
Verification
tsc --noEmitclean in both packages; prettier cleanopenui-cloudapp: triggered a real 429 billing-threshold error and confirmed the card renders the new copy + button@openuidev/react-headless>= 0.9.6 is installed (0.9.5 emits the 429 event withouterror.type, so no card renders on any devtools version). Fresh scaffolds resolve^0.9.3to 0.9.6, so they're fine.Shipping note
Reaches users via the next
@openuidev/devtoolsnpm publish (template pins^0.0.3) and the next CLI publish.