feat: Vertex AI support; add google-vertex and google-vertex-anthropic providers (#2347)
This commit is contained in:
parent
395c41b748
commit
e7b6ffb314
1 changed files with 91 additions and 6 deletions
|
|
@ -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")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue