fix: wire up Venice API key CLI onboarding support #1893
Closed
+24
−1
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.
Summary
Fixes missing CLI support for Venice AI provider onboarding. PR #1666 added the Venice AI provider integration but the CLI onboarding flags were not wired up, causing users to be unable to configure Venice via
clawdbot onboard.Problem
After PR #1666, users trying to onboard with Venice experienced:
--auth-choice venice-api-keynot shown in help text--venice-api-keyflag missing entirelySolution
Added the missing CLI wiring by following the exact pattern used by other API key providers (synthetic, openrouter, moonshot, etc.):
src/cli/program/register.onboard.ts
venice-api-keyto--auth-choicehelp text--venice-api-key <key>CLI optionveniceApiKeythrough toonboardCommandsrc/commands/onboard-non-interactive/local/auth-choice.ts
setVeniceApiKeyandapplyVeniceConfigauthChoice === "venice-api-key"Testing
pnpm build- passespnpm lint- passespnpm format- passesUsage
After this fix, users can onboard with Venice via:
clawdbot onboard --non-interactive --accept-risk \ --auth-choice venice-api-key \ --venice-api-key "YOUR_VENICE_API_KEY"Fixes issue with Venice onboarding discovered while testing #1666.