mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-16 19:51:11 +00:00
fix(anthropic): remove setup-token onboarding path
This commit is contained in:
@@ -295,7 +295,7 @@ export function registerModelsCli(program: Command) {
|
||||
|
||||
auth
|
||||
.command("add")
|
||||
.description("Interactive auth helper (setup-token or paste token)")
|
||||
.description("Interactive auth helper (provider auth or paste token)")
|
||||
.action(async () => {
|
||||
await runModelsCommand(async () => {
|
||||
await modelsAuthAddCommand({}, defaultRuntime);
|
||||
@@ -324,7 +324,7 @@ export function registerModelsCli(program: Command) {
|
||||
auth
|
||||
.command("setup-token")
|
||||
.description("Run a provider CLI to create/sync a token (TTY required)")
|
||||
.option("--provider <name>", "Provider id (default: anthropic)")
|
||||
.option("--provider <name>", "Provider id")
|
||||
.option("--yes", "Skip confirmation", false)
|
||||
.action(async (opts) => {
|
||||
await runModelsCommand(async () => {
|
||||
|
||||
Reference in New Issue
Block a user