Skip to content

Commit 3030e31

Browse files
authored
Merge pull request #6 from PinataCloud/feat/disable-anthropic-setup-token
feat: removes setup token
2 parents 234dc9f + 8be14fd commit 3030e31

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

main.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff 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") {

0 commit comments

Comments
 (0)