Repository navigation
Closed
Labels
bugSomething isn't working
Description
Summary
I configured Google Vertex AI (Google Agent Platform, formerly Vertex AI) as a provider in OpenCodex.
The provider is detected correctly and the default model is recognized, but the Gemini models from the Vertex AI provider do not appear in the Models dashboard:
They are also missing from the OpenAI-compatible endpoint:
Expected behavior:
Vertex AI Gemini models should be registered and visible like other providers (for example google-antigravity models).
Actual behavior:
The provider exists, but its models are not added to the model registry/dashboard/API output.
Reproduction
Steps to reproduce
-
Install OpenCodex.
-
Add a Google Vertex AI provider.
Provider:
provider: google-vertex
adapter: google
base_url: https://aiplatform.googleapis.com
auth_mode: key
3. Configure a Gemini model:
defaultModel: gemini-2.5-pro
4. Run model sync:
ocx sync
5. Verify the provider is detected:
ocx models
Expected:
google-vertex: gemini-2.5-pro
This appears correctly.
6. Open:
http://127.0.0.1:10100/#models
or check:
curl http://127.0.0.1:10100/v1/models
Expected:
google-vertex/gemini-2.5-pro
Actual:
No google-vertex Gemini models appear.
Only other providers/models are listed.
### Logs and screenshots
```shell
Relevant output:
### ocx models
google-vertex: gemini-2.5-pro *
The provider is detected.
### /v1/models
curl http://127.0.0.1:10100/v1/models | jq '.data[].id'
Output does not contain:
google-vertex/gemini-2.5-pro
but contains other providers such as:
google-antigravity/*
openrouter/*
xai/*
kimi/*
API config
curl http://127.0.0.1:10100/api/config
shows:
"google-vertex": {
"defaultModel": "gemini-2.5-pro"
}
Provider integration
---
## Version *
0.145.0-alpha.18
OS *
macOS 26.5.1 (Apple Silicon)
Config shape *
providers:
google-vertex:
adapter: google
base_url: https://aiplatform.googleapis.com
auth_mode: key
defaultModel: gemini-2.5-pro
API keys and credentials removed.Area
CLI
Version
2.7.28
OS
macOS 26.5.1 (25F80)
Config shape
Checks
- I searched existing issues and docs first.
- I removed secrets, tokens, and personal data from logs and screenshots.
Metadata
Metadata
Assignees
Labels
bugSomething isn't working
Activity
fix(combos,cursor,google): nullable combo effort + capability-aware i…
docs(devlog): merge-readiness review of 6 issue patches (2 blockers: #…
fix(google): surface Vertex defaultModel in catalog when models list …
docs(devlog): record #202/#209 fixes + push + green CI (pre-merge rep…
lidge-jun commentedon Jul 21, 2026
v2.7.31에 수정 반영했습니다. Vertex 모델 discovery 진단과 configured fallback을 보강하고, models 목록이 없을 때도 defaultModel이 catalog와 /v1/models에 남도록 수정했습니다. 반영 커밋: 87501f1, 2e07c8b
fix(combos,cursor,google): nullable combo effort + capability-aware i…
docs(devlog): merge-readiness review of 6 issue patches (2 blockers: l…
fix(google): surface Vertex defaultModel in catalog when models list …
docs(devlog): record lidge-jun#202/lidge-jun#209 fixes + push + green…