mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-13 03:59:12 +00:00
VertexParams in auth-types holds the vertex_* fields of CredentialLiteLLMParams in both spellings, with one ParamSpec per setting: the wire names, the litellm module global VertexBase.get_vertex_ai_* consults, and the environment names. A credential deserializes from text or the JSON object a config spells, an empty object counts as absent, and both credential fields are redacted in Debug. auth-gcp is split so lib.rs is the entrypoint (config, auth, constants), its lookups resolve through the specs, secret_names() derives from them, and get_vertex_ai_project_from_credentials reads a service account's project_id for hosts that need it before a token exchange. The OCR host folds the module globals in by spec at projection, so OcrSettings no longer carries vertex_project and vertex_location. |
||
|---|---|---|
| .. | ||
| aws_textract.rs | ||
| azure_ai.rs | ||
| azure_document_intelligence.rs | ||
| cohere.rs | ||
| documents.rs | ||
| lifecycle.rs | ||
| machine.rs | ||
| main.rs | ||
| mistral.rs | ||
| reducto.rs | ||
| vertex_ai.rs | ||