Documentation
¶
Overview ¶
Package geminicli registers a CLI-tool-backed provider that drives Google's Gemini CLI (`gemini`) binary as the review engine. The user-facing name is `gemini-cli` (selectable with `--cli gemini` or `--provider gemini-cli`); the underlying transport is a subprocess of the host CLI rather than an HTTPS API call, so no API key is required when `gemini` is already authenticated locally.
Layout naming: the `-cli` directory suffix is purely a developer signal that this is the CLI-backed sibling of the existing internal/provider/gemini/ package (which talks to generativelanguage.googleapis.com).
Index ¶
Constants ¶
const Name = "gemini-cli"
Name is what users type. Matches the directory suffix convention.
Variables ¶
This section is empty.
Functions ¶
func Metadata ¶ added in v1.17.0
Metadata describes the gemini-cli backend for documentation. It needs no credential and never shells out to the host CLI, so it answers even on a machine where `gemini` is not installed. See ADR-0039.
Binary is binaryName, the same constant this package's clireview.Spec is built from, so the published name cannot drift from the one exec.LookPath actually resolves.
Models is empty and DefaultModel is left blank on purpose: the host CLI owns model selection, and clireview.DefaultModel() synthesises a "binary@version" string for the cache key at runtime. That identifier is not a model, and publishing it as one would send readers looking for a model name they can pass to --model.
Types ¶
This section is empty.