File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2350,18 +2350,18 @@ Examples:
23502350 Name : "oauth" ,
23512351 Usage : "Use OAuth browser flow instead of API key (openai only)" ,
23522352 },
2353- & cli.BoolFlag {
2354- Name : "setup-token" ,
2355- Usage : "Store an Anthropic setup token instead of an API key (anthropic only)" ,
2356- },
2353+ // &cli.BoolFlag{
2354+ // Name: "setup-token",
2355+ // Usage: "Store an Anthropic setup token instead of an API key (anthropic only)",
2356+ // },
23572357 },
23582358 Action : func (ctx * cli.Context ) error {
23592359 provider := ctx .Args ().First ()
23602360 switch provider {
23612361 case "anthropic" :
2362- if ctx .Bool ("setup-token" ) {
2363- return agents .CredentialLogin ("Anthropic setup token (run 'claude setup-token' to generate one)" , "ANTHROPIC_SETUP_TOKEN" )
2364- }
2362+ // if ctx.Bool("setup-token") {
2363+ // return agents.CredentialLogin("Anthropic setup token (run 'claude setup-token' to generate one)", "ANTHROPIC_SETUP_TOKEN")
2364+ // }
23652365 return agents .CredentialLogin ("Anthropic API key" , "ANTHROPIC_API_KEY" )
23662366 case "openai" :
23672367 if ctx .Bool ("oauth" ) {
You can’t perform that action at this time.
0 commit comments