### Description Opencode crashes when trying to use the vertex APIs. ### OpenCode version 1.0.164 ### Steps to reproduce 1. `/connect Vertex` and enter API obtained from https://docs.cloud.google.com/vertex-ai/generative-ai/docs/start/api-keys?usertype=standard. 2. Type any prompt. ### Screenshot and/or share link <img width="975" height="672" alt="Image" src="https://github.com/user-attachments/assets/2c1e0bce-cbf3-465b-ab91-a563001e10ca" /> ### Operating System MacOS 26.2 ### Terminal _No response_
Activity
github-actions commentedon Dec 17, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
GrahamCampbell commentedon Dec 17, 2025
/connect doesn't work for vertex. probably not a bug as such, but not so good UX that it's offered, when I need to set 3 env variables instead.
sandys commentedon Dec 28, 2025
@GrahamCampbell can you explain how did you use opencode with vertex ? im setting
GOOGLE_APPLICATION_CREDENTIALS=/home/1.json
GOOGLE_CLOUD_PROJECT=abc
VERTEX_LOCATION=global
but when i open opencode, it is just not picking it up
~