feat: Vertex AI support; add google-vertex and google-vertex-anthropic providers (#2347)

This commit is contained in:
Yuku Kotani
2025-10-04 14:10:38 +09:00
committed by GitHub
parent 395c41b748
commit e7b6ffb314
4 changed files with 91 additions and 6 deletions

View File

@@ -247,6 +247,14 @@ export const AuthLoginCommand = cmd({
return
}
if (provider === "google-vertex") {
prompts.log.info(
"Google Cloud Vertex AI uses Application Default Credentials. Set GOOGLE_APPLICATION_CREDENTIALS or run 'gcloud auth application-default login'. Optionally set GOOGLE_CLOUD_PROJECT and GOOGLE_CLOUD_LOCATION (or VERTEX_LOCATION)",
)
prompts.outro("Done")
return
}
if (provider === "opencode") {
prompts.log.info("Create an api key at https://opencode.ai/auth")
}