summaryrefslogtreecommitdiffhomepage
path: root/internal/llm/models/models.go
diff options
context:
space:
mode:
authormineo <[email protected]>2025-05-16 03:25:21 +0900
committeradamdottv <[email protected]>2025-05-15 13:35:06 -0500
commit87237b6462b9dfd379b22e69712e8dc516afad9d (patch)
treeffce4fab0e86ad05684738834c52de2f7f1f7a76 /internal/llm/models/models.go
parent5f5f9dad877300bab3fe5442ea141551ba89421b (diff)
downloadopencode-87237b6462b9dfd379b22e69712e8dc516afad9d.tar.gz
opencode-87237b6462b9dfd379b22e69712e8dc516afad9d.zip
feat: support VertexAI provider (#153)
* support: vertexai fix fix set default for vertexai added comment fix fix * create schema * fix README.md * fix order * added pupularity * set tools if tools is exists restore commentout * fix comment * set summarizer model
Diffstat (limited to 'internal/llm/models/models.go')
-rw-r--r--internal/llm/models/models.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/llm/models/models.go b/internal/llm/models/models.go
index 16fd406c8..e4fe6603b 100644
--- a/internal/llm/models/models.go
+++ b/internal/llm/models/models.go
@@ -43,6 +43,7 @@ var ProviderPopularity = map[ModelProvider]int{
ProviderOpenRouter: 5,
ProviderBedrock: 6,
ProviderAzure: 7,
+ ProviderVertexAI: 8,
}
var SupportedModels = map[ModelID]Model{
@@ -95,4 +96,5 @@ func init() {
maps.Copy(SupportedModels, AzureModels)
maps.Copy(SupportedModels, OpenRouterModels)
maps.Copy(SupportedModels, XAIModels)
+ maps.Copy(SupportedModels, VertexAIGeminiModels)
}