fix(login): remove emojis from interactive prompt messages

This commit is contained in:
Luis Pater
2026-01-20 11:09:56 +08:00
parent 7831cba9f6
commit 8447fd27a0

View File

@@ -276,10 +276,10 @@ func performGeminiCLISetup(ctx context.Context, httpClient *http.Client, storage
if isFreeUser {
// Interactive prompt for free users
fmt.Printf("\n⚠️ Google returned a different project ID:\n")
fmt.Printf("\nGoogle returned a different project ID:\n")
fmt.Printf(" Requested (frontend): %s\n", projectID)
fmt.Printf(" Returned (backend): %s\n\n", responseProjectID)
fmt.Printf(" Backend project IDs have access to preview models (gemini-3-*).\n")
fmt.Printf(" Backend project IDs have access to preview models (gemini-3-*).\n")
fmt.Printf(" This is normal for free tier users.\n\n")
fmt.Printf("Which project ID would you like to use?\n")
fmt.Printf(" [1] Backend (recommended): %s\n", responseProjectID)
@@ -292,7 +292,7 @@ func performGeminiCLISetup(ctx context.Context, httpClient *http.Client, storage
if choice == "2" {
log.Infof("Using frontend project ID: %s", projectID)
fmt.Println("⚠️ Warning: Frontend project IDs may not have access to preview models.")
fmt.Println(". Warning: Frontend project IDs may not have access to preview models.")
finalProjectID = projectID
} else {
log.Infof("Using backend project ID: %s (recommended)", responseProjectID)