**refactor(cliproxy, config): remove vertex-compat flow, streamline Vertex API key handling**

- Removed `vertex-compat` executor and related configuration.
- Consolidated Vertex compatibility checks into `vertex` handling with `apikey`-based model resolution.
- Streamlined model generation logic for Vertex API key entries.
This commit is contained in:
Luis Pater
2025-12-02 09:12:53 +08:00
parent 0ebb654019
commit 0fd2abbc3b
5 changed files with 97 additions and 54 deletions

View File

@@ -55,7 +55,7 @@ func (cfg *Config) SanitizeVertexCompatKeys() {
}
entry.BaseURL = strings.TrimSpace(entry.BaseURL)
if entry.BaseURL == "" {
// BaseURL is required for vertex-compat keys
// BaseURL is required for Vertex API key entries
continue
}
entry.ProxyURL = strings.TrimSpace(entry.ProxyURL)