google / google/agents-cli

0.1.2 regression, not forwarding EXTRA_ARGS breaks public facing deploy

Aperta
#20 2 commenti 0 reazioni 1 assegnatario Rivendicata da @eliasecchig Vedi su GitHub
Lingua principale
Python
Stelle
5.9k
Fork
660
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### What happened?

Hi! I have an adk agent deployed into a public facing endpoint, with a middleware providing jwt based auth for user resources.

This is intended to be a production agent facing real end users, not an internal tool used by employees or depending on google auth. agents-cli 0.1.1 worked fine for this, by allowing me to use `--allow-unauthenticated` (authentication was happening in the middleware layer).

skills and help say `use --dry-run (or -n) to print the full gcloud command, copy it, and add additional arguments as needed.`. But this is part of CI/CD systems, I can not stop, edit the command, and send it again. A window of not being reachable is also not acceptable.

Why was this feature removed? It breaks agents-cli for our usecase, with no apparent benefit.

### Steps to Reproduce

run `agents-cli deploy --project some-project --allow-unauthenticated`

### What did you expect to happen?

agent deploys and endpoint is publicly reachable (allUsers group has invoke role)

### Client information

Client Information

Not relevant, I have 0.1.1 locally, but 0.1.2 breaks our workflows.

### Command Output / Logs

agents-cli v0.1.3
Usage: google-agents-cli deploy [OPTIONS]
Try 'google-agents-cli deploy --help' for help.

Error: No such option '--allow-unauthenticated'.

### Anything else we need to know?

There seems to be close to 0 docs on how to do a public facing production ready agent. I had to drop agent engine since there was no way of adding ag-ui-adk middleware to it in order to use frontend agent ui tools.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.