Change summary
internal/providers/configs/vertexai.json | 4 ++--
pkg/provider/provider.go | 13 +++++++++++++
2 files changed, 15 insertions(+), 2 deletions(-)
Detailed changes
@@ -2,8 +2,8 @@
"name": "Google Vertex AI",
"id": "vertex",
"type": "vertex",
- "api_key": "$VERTEX_API_KEY",
- "api_endpoint": "$VERTEX_API_ENDPOINT",
+ "api_key": "",
+ "api_endpoint": "",
"default_model_id": "gemini-2.5-pro",
"models": [
{
@@ -52,3 +52,16 @@ type Model struct {
CanReason bool `json:"can_reason"`
SupportsImages bool `json:"supports_attachments"`
}
+
+func KnownProviders() []InferenceProvider {
+ return []InferenceProvider{
+ InferenceProviderOpenAI,
+ InferenceProviderAnthropic,
+ InferenceProviderGemini,
+ InferenceProviderAzure,
+ InferenceProviderBedrock,
+ InferenceProviderVertexAI,
+ InferenceProviderXAI,
+ InferenceProviderOpenRouter,
+ }
+}