feat(vertex): Add Prefix field to VertexCredentialStorage for per-file model namespacing

This commit is contained in:
dinhkarate
2026-01-29 11:38:08 +07:00
parent 9e5b1d24e8
commit fdeef48498
2 changed files with 9 additions and 0 deletions

6
.gitignore vendored
View File

@@ -48,3 +48,9 @@ _bmad-output/*
# macOS
.DS_Store
._*
# Opencode
.beads/
.opencode/
.cli-proxy-api/
.venv/

View File

@@ -30,6 +30,9 @@ 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/gemini-2.0-flash").
Prefix string `json:"prefix,omitempty"`
}
// SaveTokenToFile writes the credential payload to the given file path in JSON format.