Merge pull request #1302 from dinhkarate/feat(vertex)/add-prefix-field

Feat(vertex): add prefix field
This commit is contained in:
Luis Pater
2026-04-04 04:17:12 +08:00
committed by GitHub
4 changed files with 31 additions and 3 deletions
@@ -30,6 +30,10 @@ type VertexCredentialStorage struct {
// Type is the provider identifier stored alongside credentials. Always "vertex".
Type string `json:"type"`
// Prefix optionally namespaces models for this credential (e.g., "teamA").
// This results in model names like "teamA/gemini-2.0-flash".
Prefix string `json:"prefix,omitempty"`
}
// SaveTokenToFile writes the credential payload to the given file path in JSON format.