📌 📄 内容摘要:
bocchi (@forsythia) 在 Gemini CLI使用开通了GCP账号登录报错is not a Workspace account的解决方法 中发帖
报错内容 Failed to login. Ensure your Google account is not a Workspace account
根据官方的文档: gemini-cli/docs/cli/authentication.md at main · google-gemini/gemini-cli · GitHub 这个要使用 Login with Google Workspace
[image]
步骤如下:
开启GCP下Project的Gemini Coud API, 设置 Gemini Code Assist Standard 和 Enterprise | Gemini for Google Cloud
在用户主目录创建.env, 填入 export GOOGLE_CLOUD_PROJECT="YOUR_PROJECT_ID" , 这里的YOUR_PRO...
────────── 链接信息 ──────────
🔗 论坛链接: linux.do
📎 访问地址: https://linux.do/t/topic/749589/1
─────────────────────────────
📢 来源:LINUX DO