opencode-antigravity-auth插件,配置后对话提示Error: Google Generative AI API key is missing

opencode-antigravity-auth插件,配置后对话提示Error: Google Generative AI API key is missing;



按照github上的文档配置的,但运行时提示出错:
(base) PS D:\study> opencode run “Hello” --model=google/antigravity-claude-opus-4-6-thinking --variant=max

build · antigravity-claude-opus-4-6-thinkingError: Google Generative AI API key is missing. Pass it using the ‘apiKey’ parameter or the GOOGLE_GENERATIVE_AI_API_KEY environment variable.
(base) PS D:\study\xianyu-auto-reply-backup>

难受,正准备美美的用呢,有佬知道怎么解决吗?

现在最好还是不要反代吧。封号挺多的。

第三方别用了,小心封了

重启服务啊 还是要你google api的官方key呢 插件没有生效啊

建议别用了,谷歌最近抓反代抓的巨严

感谢佬提醒,我会注意的

重启过了,电脑也重启了;我看官方文档,安装这个插件就在.config\opencode\package.json 文件里添加这一句就可以了是吗?

{
“plugin”: [“opencode-antigravity-auth@latest”]
}

真别用了;


项目作者都说的很明白了。

好的佬,不整了