Expand description
Shared configuration of every Google model and service.
Structs§
- Google
Config - Configuration shared by the models and services of one provider instance.
Constants§
- API_
KEY_ ENV - Environment variable read for the API key when none is configured.
- API_
KEY_ HEADER - Header carrying the API key.
- AUTH_
TOKENS_ PATH - Path of the ephemeral auth token endpoint (relative to the origin).
- CANONICAL_
OPTIONS_ KEY - Canonical provider options and metadata key, always consulted in addition to the configured name.
- DEFAULT_
BASE_ URL - Default base URL (Gemini API,
v1beta). - DEFAULT_
NAME - Default provider name.
- DOWNLOAD_
PATH_ PREFIX - Path prefix of the media download endpoint (relative to the origin).
- UPLOAD_
PATH - Path of the resumable upload endpoint (relative to the origin).
- USER_
AGENT - User-agent suffix appended to every request.
Type Aliases§
- Shared
Config - Shared handle to the configuration.