mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-02-18 20:30:51 +08:00
refactor(login): disable geminicloudassist API check in required services list
This commit is contained in:
@@ -409,7 +409,7 @@ func showProjectSelectionHelp(email string, projects []interfaces.GCPProjectProj
|
|||||||
func checkCloudAPIIsEnabled(ctx context.Context, httpClient *http.Client, projectID string) (bool, error) {
|
func checkCloudAPIIsEnabled(ctx context.Context, httpClient *http.Client, projectID string) (bool, error) {
|
||||||
serviceUsageURL := "https://serviceusage.googleapis.com"
|
serviceUsageURL := "https://serviceusage.googleapis.com"
|
||||||
requiredServices := []string{
|
requiredServices := []string{
|
||||||
"geminicloudassist.googleapis.com", // Gemini Cloud Assist API
|
// "geminicloudassist.googleapis.com", // Gemini Cloud Assist API
|
||||||
"cloudaicompanion.googleapis.com", // Gemini for Google Cloud API
|
"cloudaicompanion.googleapis.com", // Gemini for Google Cloud API
|
||||||
}
|
}
|
||||||
for _, service := range requiredServices {
|
for _, service := range requiredServices {
|
||||||
|
|||||||
Reference in New Issue
Block a user