Repository navigation
Commit 930c25d
fix(cli): pin
The `create` example set on `CreateAgent` in `gen.lock` carried synthesized `<value>` and `<id>` placeholders for `base_agent` and `id`. Because named example sets are rendered in compact help and take priority over schema property examples, `gemini-api agent create --help` printed `gemini-api agent create --base-agent <value> --id <id>`.
Add a `create` request-body example (`base_agent: antigravity-preview-05-2026`, `id: research-assistant`, matching `agent get` and `agent delete`) on `POST /{api_version}/agents` in `overlays/cli/examples.yaml`, and regenerate the CLI.
PiperOrigin-RevId: 991030646base_agent and id in agent create example1 parent 2854781 commit 930c25d
2 files changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
474 | 474 | | |
475 | 475 | | |
476 | 476 | | |
477 | | - | |
| 477 | + | |
478 | 478 | | |
479 | 479 | | |
480 | 480 | | |
481 | 481 | | |
482 | 482 | | |
483 | 483 | | |
484 | | - | |
| 484 | + | |
485 | 485 | | |
486 | 486 | | |
487 | 487 | | |
488 | 488 | | |
489 | 489 | | |
490 | 490 | | |
491 | 491 | | |
492 | | - | |
| 492 | + | |
493 | 493 | | |
494 | 494 | | |
495 | 495 | | |
496 | 496 | | |
497 | 497 | | |
498 | 498 | | |
499 | | - | |
| 499 | + | |
500 | 500 | | |
501 | 501 | | |
502 | | - | |
| 502 | + | |
503 | 503 | | |
504 | 504 | | |
505 | 505 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments