Shilin Zhou (@BaimoQilin) 在 如何快速在 OpenClaw/OpenCode 配置 Vertex AI 中发帖
如题。
OpenClaw 文档只有一句话 “Vertex uses gcloud ADC” 指引,OpenCode 也要求使用 gcloud ADC。
我想要在 2 台 Ubuntu Server 服务器上的 OpenClawd 和一台 Windows OpenCode 上配置 Vertex API。在设置完环境变量指向 json ADC 验证文件后 OpenClaw 和 OpenCode 均没有识别到;OpenClaw 没有 Vertex AI 选项,OpenCode 的 Vertex AI 只能填写 API Key,填写后显示需要配置 location 等信息。在环境变量中设置为 global 后,仍然提示缺失 location。
有没有更方便的方法?或者我在配置过程中哪个地方出了问题呢